2026-03-05 15:34:37 +08:00
|
|
|
from __future__ import annotations
|
|
|
|
|
|
2026-03-07 17:30:20 +08:00
|
|
|
from pydantic import BaseModel, ConfigDict, Field
|
2026-03-05 15:34:37 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
class TaskAcceptedResponse(BaseModel):
|
2026-03-07 17:30:20 +08:00
|
|
|
model_config = ConfigDict(populate_by_name=True, serialize_by_alias=True)
|
|
|
|
|
|
|
|
|
|
task_id: str = Field(alias="taskId")
|
|
|
|
|
thread_id: str = Field(alias="threadId")
|
|
|
|
|
run_id: str = Field(alias="runId")
|
2026-03-05 15:34:37 +08:00
|
|
|
created: bool
|