This commit is contained in:
easong-openai
2025-09-26 04:36:05 -07:00
parent 5fa64b7ae1
commit e1d6531103
12 changed files with 38 additions and 64 deletions

View File

@@ -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,