INNER CODE UNIT · Python

main

victordibia/designing-multiagent-systems · course/samples/hello_world/autogen_agentchat/app.py:27

async def main() -> None: 
    agent = AssistantAgent(
        name="assistant", 
        description="A helpful assistant",
        system_message="A helpful assistant",
        model_client=OpenAIChatCompletionClient(model="gpt-4o-2024-11-20"), 
        tools=[calculator])  
    await Console(agent.run_stream(task="What is the result of 545.34567 * 34555.34"))

asyncio.run(main())

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…