Documentation
¶
Overview ¶
Example: chat_with_tools demonstrates an agent that uses tools during chat.
The mock provider simulates tool-calling behavior (returns ToolCalls in responses), demonstrating the full tool-calling loop: model requests tool → agent executes → result fed back to model.
No API keys needed.
go run ./examples/chat_with_tools/
Click to show internal directories.
Click to hide internal directories.