Agent response.
| 539 | parsed_model: Optional[BaseModel] = Field(default=None, description="The parsed model of the extra data") |
| 540 | |
| 541 | class AgentResponse(BaseModel): |
| 542 | """Agent response.""" |
| 543 | model_config = ConfigDict(arbitrary_types_allowed=True, extra="allow") |
| 544 | |
| 545 | success: bool = Field(description="Whether the agent has completed the task.") |
| 546 | message: str = Field(description="The message of the agent.") |
| 547 | extra: Optional[AgentExtra] = Field(default=None, description="The extra data of the agent.") |
| 548 | |
| 549 | __all__ = [ |
| 550 | "InputArgs", |
no outgoing calls
no test coverage detected