add batch_id to history task items
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# generated by datamodel-codegen:
|
||||
# filename: openapi.yaml
|
||||
# timestamp: 2025-06-21T23:28:48+00:00
|
||||
# timestamp: 2025-06-21T23:40:24+00:00
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
@@ -476,6 +476,12 @@ class TaskHistoryItem(BaseModel):
|
||||
timestamp: datetime = Field(..., description="ISO timestamp when task completed")
|
||||
result: str = Field(..., description="Task result message or details")
|
||||
status: Optional[TaskExecutionStatus] = None
|
||||
batch_id: Optional[str] = Field(
|
||||
None, description="ID of the batch this task belongs to"
|
||||
)
|
||||
end_time: Optional[datetime] = Field(
|
||||
None, description="ISO timestamp when task execution ended"
|
||||
)
|
||||
|
||||
|
||||
class TaskStateMessage(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user