Installation
Configuration
Point AutoGen at the DeepInfra endpoint usingbase_url:
How it works
In the example above, two agents converse to solve the task:- The assistant agent generates a Python code snippet to get the current time
- The user_proxy agent automatically detects and executes the code block
- The result is sent back to the assistant, which summarizes it
user_proxy (to assistant): exitcode: 0 (execution succeeded) Code output: 02:20 PM
assistant (to user_proxy): The current time is 02:20 PM.