Skip to content

Shouldn't tool_choice = "required" enforce that the assistant always use one of the tools? #3007

Closed Answered by GabrielBianconi
jalvespinto asked this question in Help
Discussion options

You must be logged in to vote

Hi @jalvespinto - this is an issue with Ollama as it ignores tool_choice. TensorZero passes that along to the model provider. It'll work correctly with other providers.

https://github.com/ollama/ollama/blob/main/docs/openai.md

Thanks

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by GabrielBianconi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants