Repository navigation
chore(deps): litellm 1.98.0 -> 1.98.1, so Azure GPT-6 models take reasoning_effort - #2
Merged
Conversation
…soning_effort. - uv.lock: litellm 1.98.0 -> 1.98.1; no other package moves - pyproject.toml unchanged: the litellm>=1.50 floor already allows 1.98.1 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
RubenBranco
marked this pull request as ready for review
September 25, 2026 12:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
litellm 1.98.0 recognises only GPT-5 names as Azure reasoning models. For
azure/gpt-6-luna,gpt-6-solandgpt-6-astrait rejectsreasoning_effortwithUnsupportedParamsError, so every collect call for a GPT-6 model with a reasoning effort fails. litellm fixed the name match in BerriAI/litellm#39631 and backported the fix to 1.98.1 (BerriAI/litellm#43130).1.98.1 is a patch on the 1.98 line. It stays below 1.100, where litellm's hosted_vllm path drops
reasoning_contentfrom tool-loop history.Changes
uv.lockmoves litellm from 1.98.0 to 1.98.1. No other package moves.pyproject.tomlis unchanged, becauselitellm>=1.50already allows 1.98.1.Evidence
No model was called. A local stub HTTP server recorded every request litellm sent and returned canned replies.
Tests. The repo has no test suite.
uv sync --lockedsucceeds on main and on this branch.vLLM requests are unchanged.
collect_oneran on the first 2 questions ofquestions.v2.jsonfor the bare model nameglm-5.2-fp8, whichLiteLLMClientsends ashosted_vllm/glm-5.2-fp8. It used the settings Dawn renders intoconfig.v2.json: no system prompt, no temperature, reasoning effortoff,max_tokens: 24576andretries: 1. The 2 request bodies are byte-identical on 1.98.0 and 1.98.1.GPT-6 now gets the effort. Each call used
azure/gpt-6-lunawith efforthigh.collect_one,max_tokens=16000litellm call failed (attempt 1/1): litellm.UnsupportedParamsError: azure does not support parameters: ['reasoning_effort']reasoning_effort: high,max_completion_tokens: 16000litellm.completion,max_completion_tokens=16000UnsupportedParamsErrorreasoning_effort: high,max_completion_tokens: 16000Every result above is the same with litellm's live model cost map and with
LITELLM_LOCAL_MODEL_COST_MAP=True.🤖 Generated with Claude Code