feat: add agent node log

This commit is contained in:
Novice Lee
2025-01-09 08:32:14 +08:00
parent 172c5f19cc
commit 491d641485
7 changed files with 30 additions and 4 deletions

View File

@ -203,6 +203,7 @@ class AgentLogEvent(BaseAgentEvent):
error: str | None = Field(..., description="error")
status: str = Field(..., description="status")
data: Mapping[str, Any] = Field(..., description="data")
metadata: Optional[Mapping[str, Any]] = Field(default=None, description="metadata")
InNodeEvent = BaseNodeEvent | BaseParallelBranchEvent | BaseIterationEvent | BaseAgentEvent