[GH-ISSUE #11171] Add support for tool_choice set to any to require a model to use a tool #69426

Open
opened 2026-05-04 18:03:59 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @matty-fortune on GitHub (Jun 23, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/11171

Is support for tool_choice set to any planned? What might an implementation look like? Is the only option detecting a lack of a tool call and retrying (with a different seed), or is there a better implementation path available?

Originally created by @matty-fortune on GitHub (Jun 23, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/11171 Is support for `tool_choice` set to `any` planned? What might an implementation look like? Is the only option detecting a lack of a tool call and retrying (with a different seed), or is there a better implementation path available?
GiteaMirror added the feature request label 2026-05-04 18:03:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#69426