mirror of
https://github.com/microsoft/autogen.git
synced 2025-12-27 06:59:03 +00:00
* 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
33 lines
895 B
JSON
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
|
|
}
|