product · inferred from evidence
OpenAI-style tool_choice
A pattern or feature from OpenAI's SDK for specifying tool or function selection behavior.
- xAI SDK: how to force the model to call a specific function
Does forcing a specific function to be called actually work in the xAI Python SDK? I am testing something similar to OpenAI function calling and the model does not seem to honor it. I followed the OpenAI-style tool_choice pattern from the d