adding agent to task output

This commit is contained in:
João Moura
2024-05-16 05:12:32 -03:00
parent 208c3a780c
commit a336381849
2 changed files with 2 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ class TaskOutput(BaseModel):
exported_output: Union[str, BaseModel] = Field(
description="Output of the task", default=None
)
agent: str = Field(description="Agent that executed the task")
raw_output: str = Field(description="Result of the task")
@model_validator(mode="after")