feat(agent): complete closed-loop runtime and pricing fallback
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
|
||||
class RunRequest(BaseModel):
|
||||
session_id: str | None = Field(default=None, min_length=1, max_length=100)
|
||||
prompt: str = Field(min_length=1, max_length=5000)
|
||||
|
||||
|
||||
class ResumeRequest(BaseModel):
|
||||
tool_call_id: str = Field(min_length=1, max_length=200)
|
||||
|
||||
|
||||
class TaskAcceptedResponse(BaseModel):
|
||||
task_id: str
|
||||
session_id: str
|
||||
created: bool
|
||||
Reference in New Issue
Block a user