Skip to content

Conversation

@colesmcintosh
Copy link
Contributor

@colesmcintosh colesmcintosh commented Aug 9, 2025

Title

feat(reasoning): support 'minimal' effort type for OpenAI

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

Type

🆕 New Feature

Changes

  • Added 'minimal' effort type to reasoning_effort parameter in both completion() and acompletion() functions
  • This allows users to specify 'minimal' effort while ensuring compatibility with OpenAI's API

@vercel
Copy link

vercel bot commented Aug 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 9, 2025 0:53am

Copy link
Contributor

@ishaan-jaff ishaan-jaff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ishaan-jaff ishaan-jaff merged commit 1d514cc into BerriAI:main Aug 9, 2025
6 checks passed
satendrakumar pushed a commit to satendrakumar/litellm that referenced this pull request Aug 9, 2025
)

* feat(reasoning): support 'minimal' effort type for OpenAI

* fix(reasoning): correctly map 'minimal' effort to Reasoning object

* chore(dependencies): update OpenAI package version to 1.99.5 in pyproject.toml and requirements.txt

* chore(dependencies): update poetry.lock for OpenAI package version 1.99.5 and Poetry version 2.1.3
@maorfr
Copy link

maorfr commented Aug 10, 2025

raising awareness regarding llamastack/llama-stack#3072

this essentially means that 1.75.4 is broken 🙏

eranco74 added a commit to eranco74/lightspeed-stack that referenced this pull request Aug 10, 2025
Related to lightspeed-core#370
A workaround for BerriAI/litellm#13447 (workaround for llamastack/llama-stack#3072)

Signed-off-by: Eran Cohen <[email protected]>
eranco74 added a commit to eranco74/lightspeed-stack that referenced this pull request Aug 10, 2025
Related to lightspeed-core#370
A workaround for BerriAI/litellm#13447 (workaround for llamastack/llama-stack#3072)

Signed-off-by: Eran Cohen <[email protected]>
eranco74 added a commit to eranco74/lightspeed-stack that referenced this pull request Aug 11, 2025
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.

3 participants