The function-calling guide uses two different names for the same parameter
In the function-calling guide, the first example uses tool_choice and the second one, three sections later, uses toolChoice. Only the first works with the Python SDK. Small thing, but it cost me an hour.
Created
Last reply
2
Replies
705
Views
3
Users
19
Likes
Related topics
- The API reference should show the response headers2 replies
- Python SDK retries a non-idempotent request after a timeout3 replies
- I built a recipe app that reads your fridge — feedback welcome4 replies
- Welcome to the Vantor Developer Community — read this before posting3 replies
- How we cut our agent's tool-call loop from 9 turns to 36 replies
- Agent forgets the user's name after about 30 turns3 replies