Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/docs/quickstart/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl Tool for Adder {
Then you can call it with your agent during the builder method like so:

```rust
// Create agent with a single context prompt and two tools
// Create agent with a single context prompt and add a tool
let calculator_agent = openai_client
.agent(providers::openai::GPT_4O)
.preamble("You are a calculator here to help the user perform arithmetic operations. Use the tools provided to answer the user's question.")
Expand Down