Skip to content

Conversation

kowyo
Copy link
Contributor

@kowyo kowyo commented Oct 21, 2025

Title

Support disable Ollama reasoning model thinking when using reasoning efforts that are not in "low" "medium" or "high"

Relevant issues

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem
image

Type

🆕 New Feature

Changes

When user sends reasoning_effort like "none", "disable" or "minimal", think param will be set to False to disable thinking in Ollama.

@vercel
Copy link

vercel bot commented Oct 21, 2025

@kowyo is attempting to deploy a commit to the CLERKIEAI Team on Vercel.

A member of the Team first needs to authorize it.

@kowyo kowyo changed the title feat(ollama): set 'think' to False when reasoning effort is not high/… feat(ollama): set 'think' to False when reasoning effort is minimal/none/disable Oct 21, 2025
@krrishdholakia krrishdholakia merged commit 1fcadd6 into BerriAI:main Oct 21, 2025
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants