feat: add support for agent "swarm" (multi-agent) (#1878)

This commit is contained in:
Sarah Wooders
2024-10-15 15:50:47 -07:00
committed by GitHub
parent 4908c0c7b2
commit e5ff06685c
9 changed files with 249 additions and 20 deletions

View File

@@ -182,6 +182,7 @@ class ToolCreate(BaseTool):
json_schema: Optional[Dict] = Field(
None, description="The JSON schema of the function (auto-generated from source_code if not provided)"
)
terminal: Optional[bool] = Field(None, description="Whether the tool is a terminal tool (allow requesting heartbeats).")
class ToolUpdate(ToolCreate):