Victor Dibia 0e985d4b40
v1 of AutoGen Studio on AgentChat (#4097)
* add skeleton worflow manager

* add test notebook

* update test nb

* add sample team spec

* refactor requirements to agentchat and ext

* add base provider to return agentchat agents from json spec

* initial api refactor, update dbmanager

* api refactor

* refactor tests

* ags api tutorial update

* ui refactor

* general refactor

* minor refactor updates

* backend api refaactor

* ui refactor and update

* implement v1 for streaming connection with ui updates

* backend refactor

* ui refactor

* minor ui tweak

* minor refactor and tweaks

* general refactor

* update tests

* sync uv.lock with main

* uv lock update
2024-11-09 14:32:24 -08:00

33 lines
895 B
JSON

{
"name": "weather_team",
"component_type": "team",
"participants": [
{
"name": "writing_agent",
"component_type": "agent",
"model_client": {
"model": "gpt-4o-2024-08-06",
"model_type": "OpenAIChatCompletionClient",
"component_type": "model"
},
"tools": [
{
"name": "get_weather",
"description": "Get the weather for a city",
"content": "async def get_weather(city: str) -> str:\n return f\"The weather in {city} is 73 degrees and Sunny.\"",
"tool_type": "PythonFunction",
"component_type": "tool"
}
],
"agent_type": "AssistantAgent"
}
],
"termination_condition": {
"termination_type": "MaxMessageTermination",
"max_messages": 5,
"component_type": "termination"
},
"team_type": "RoundRobinGroupChat",
"model_client": null
}