mirror of
https://github.com/openai/codex.git
synced 2026-04-30 19:32:04 +03:00
cleanup
This commit is contained in:
@@ -49,22 +49,17 @@ pub struct TaskSummary {
|
||||
pub attempt_total: Option<usize>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Default)]
|
||||
pub enum AttemptStatus {
|
||||
Pending,
|
||||
InProgress,
|
||||
Completed,
|
||||
Failed,
|
||||
Cancelled,
|
||||
#[default]
|
||||
Unknown,
|
||||
}
|
||||
|
||||
impl Default for AttemptStatus {
|
||||
fn default() -> Self {
|
||||
AttemptStatus::Unknown
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
pub struct TurnAttempt {
|
||||
pub turn_id: String,
|
||||
|
||||
Reference in New Issue
Block a user