Repository navigation
fix(bedrock): map reasoning_effort to reasoning.effort for OpenAI GPT-5.x on Converse - #38279
Conversation
…PT-5.x on Converse
OpenAI GPT-5.x models on Bedrock Converse expect reasoning effort under
additionalModelRequestFields as {"reasoning": {"effort": ...}}. They were
falling into the Anthropic branch and emitting a `thinking` block, which
Converse rejects with unknown_parameter.
The bedrock_converse gpt-5.6 entries were also missing supports_reasoning,
so reasoning_effort was dropped before mapping. Setting the flag lets the
existing config-driven supported-params path accept it, rather than adding
another model-name branch.
Greptile SummaryThis PR maps Bedrock Converse GPT-5.x reasoning effort to the provider’s
Confidence Score: 5/5The PR appears safe to merge No blocking failure remains
|
| Filename | Overview |
|---|---|
| litellm/llms/bedrock/chat/converse_transformation.py | Adds GPT-5.x reasoning capability detection and maps reasoning effort without restoring Anthropic thinking fields |
| litellm/types/llms/bedrock.py | Adds a read-only typed dictionary for the GPT reasoning effort request block |
| model_prices_and_context_window.json | Marks six Bedrock Converse GPT-5.6 profiles as supporting reasoning |
| litellm/model_prices_and_context_window_backup.json | Keeps backup model capability metadata aligned with the primary catalog |
| tests/test_litellm/llms/bedrock/chat/test_converse_transformation.py | Covers GPT-5.x support reporting, wire mapping, and parameter-order behavior |
| tests/test_litellm/llms/bedrock/test_cross_region_inference_profile_mapping.py | Updates cross-region profile expectations for GPT-5.6 reasoning support |
Reviews (4): Last reviewed commit: "fix(bedrock): type GPT-5 reasoning field..." | Re-trigger Greptile
…verse Stop advertising thinking/output_config as supported for OpenAI GPT-5.x and skip the thinking mapping for these models, so a request combining thinking with reasoning_effort can no longer leak a thinking block into additionalModelRequestFields regardless of parameter order, which Bedrock rejects with unknown_parameter.
|
@greptileai please review the new commit (9cc276a) and update the confidence score if applicable Addressing the earlier findings: P1 (parameter order restores thinking): fixed. P2 (redundant reasoning comment): removed P2 (hardcoded GPT-5 classification): kept as an intentional call. The |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Type the GPT-5.x reasoning payload with a ReadOnly TypedDict so the dict literal satisfies the type-discipline budget, and drop the now-redundant thinking pop (the thinking mapping is already skipped for these models). Update the cross-region capability test to expect reasoning_effort offered and thinking/output_config withheld for GPT-5.x on Converse.
|
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 418012a. Configure here.
| elif "openai.gpt-5" in model: | ||
| reasoning: Final[BedrockConverseGptReasoningEffortBlock] = {"effort": reasoning_effort} | ||
| optional_params["reasoning"] = reasoning |
There was a problem hiding this comment.
Aliases use Anthropic reasoning
When a Bedrock Converse deployment uses an alias without openai.gpt-5 while its resolved base_model identifies GPT-5, parameter detection accepts reasoning_effort but this branch classifies only the alias and falls through to the Anthropic thinking mapping, causing Bedrock to reject the request with a 400.
There was a problem hiding this comment.
Pre-existing: opaque profile ARNs map to thinking identically at merge base, for gpt-oss and Nova 2 too. Plumbing base_model through map_openai_params is out of scope.
There was a problem hiding this comment.
Agreed. Since opaque profile ARNs already have this behavior at merge base for GPT-OSS and Nova 2, and threading base_model through map_openai_params would expand the scope, I’m withdrawing this as a PR-blocking finding.
mateo-berri
left a comment
There was a problem hiding this comment.
LGTM. Thanks for the contribution!
80843ae
into
BerriAI:litellm_internal_staging
Claude Code via /v1/messages?beta=true sends
thinking: {type:"enabled",budget_tokens:2048} for every model.
For haiku (bedrock/global.openai.gpt-5.6-luna) LiteLLM 1.98.0
forwarded thinking raw to Bedrock Converse:
adapters/handler.py:464 re-adds thinking to completion_kwargs
converse_transformation.py:928 optional_params["thinking"]=value
unconditional — ignores drop_params and supported_params
Luna (openai family, not claude) rejects it:
BedrockException: unknown_parameter thinking (400)
Available Fallbacks=None, haiku unusable from Claude Code
M2.5/Qwen/DeepSeek unaffected — they go via /v1/chat/completions
where pre_process_non_default_params (utils.py:3753) drops thinking
via _should_drop_param before Converse sees it.
Upgrade to 1.100.0rc1 which contains BerriAI/litellm#38279:
- converse_transformation: add openai.gpt-5 branch in
_handle_reasoning_effort_parameter (reasoning_effort ->
additionalModelRequestFields.reasoning.effort) and skip
thinking mapping for gpt-5.x (if "openai.gpt-5" not in model)
- get_supported_openai_params: advertise reasoning_effort only
for gpt-5.x, not thinking/output_config
- model_prices: global.openai.gpt-5.6-luna supports_reasoning:true
After fix: thinking {budget_tokens:2048} -> reasoning_effort:medium
-> {reasoning:{effort:"medium"}} -> 200 OK (verified 19*21=399,
streaming 2+2=4). Higher budgets map to high via
reasoning_effort_from_thinking_budget; adaptive thinking uses
output_config.effort (high/xhigh/max clamped to high for Luna).
Config: remove thinking from haiku additional_drop_params
["stop","thinking"] -> ["stop"] — all 4 models now consistent.
Drop was redundant (converted before drop check) and misleading
now that reasoning is honored. Keep ["stop"] only.
Pin pyproject.toml litellm[proxy] to ==1.100.0rc1 (earliest RC
with fix) until 1.100 stable; uv.lock synced with
--prerelease=allow. Bump to >=1.100 on next stable.
Tested: health 4/4, haiku non-stream/stream with thinking,
opus/sonnet/fable via both endpoints. No proxy hook needed.
Fixes: litellm BadRequestError BedrockException unknown_parameter
thinking for Model Group=haiku.
…00.0) (#124) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/berriai/litellm](https://images.chainguard.dev/directory/image/wolfi-base/overview) ([source](https://github.com/BerriAI/litellm)) | minor | `v1.99.1` → `v1.100.0` | --- ### Release Notes <details> <summary>BerriAI/litellm (ghcr.io/berriai/litellm)</summary> ### [`v1.100.0`](https://github.com/BerriAI/litellm/releases/tag/v1.100.0) [Compare Source](https://github.com/BerriAI/litellm/compare/v1.99.1...v1.100.0) #### Verify Docker Image Signature All LiteLLM Docker images are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). Every release is signed with the same key introduced in [commit `0112e53`](https://github.com/BerriAI/litellm/commit/0112e53046018d726492c814b3644b7d376029d0). **Verify using the pinned commit hash (recommended):** A commit hash is cryptographically immutable, so this is the strongest way to ensure you are using the original signing key: ```bash cosign verify \ --key https://raw.githubusercontent.com/BerriAI/litellm/0112e53046018d726492c814b3644b7d376029d0/cosign.pub \ ghcr.io/berriai/litellm:v1.100.0 ``` **Verify using the release tag (convenience):** Tags are protected in this repository and resolve to the same key. This option is easier to read but relies on tag protection rules: ```bash cosign verify \ --key https://raw.githubusercontent.com/BerriAI/litellm/v1.100.0/cosign.pub \ ghcr.io/berriai/litellm:v1.100.0 ``` Expected output: ``` The following checks were performed on each of these signatures: - The cosign claims were validated - The signatures were verified against the specified public key ``` *** #### What's Changed - fix(responses): keep the conversation when chaining previous\_response\_id on the bridge by [@​mateo-berri](https://github.com/mateo-berri) in [#​37956](https://github.com/BerriAI/litellm/pull/37956) - feat(newrelic): per-team New Relic trace routing via team callbacks by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​37603](https://github.com/BerriAI/litellm/pull/37603) - perf(ci): cache uv dependencies in the lint job by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​37783](https://github.com/BerriAI/litellm/pull/37783) - perf(ci): fan the budget checkers out across cores by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​37784](https://github.com/BerriAI/litellm/pull/37784) - ci: port the Postgres suites off CircleCI onto service containers by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​37785](https://github.com/BerriAI/litellm/pull/37785) - feat(ci): gate patching of SDK internals in tests as TQ008 by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​37787](https://github.com/BerriAI/litellm/pull/37787) - ci: measure enterprise/ coverage by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​37788](https://github.com/BerriAI/litellm/pull/37788) - ci: run the keyless caching tests that ran in no job by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​37790](https://github.com/BerriAI/litellm/pull/37790) - fix(ci): run the migration DDL guard, and stop it reading comments as SQL by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​37791](https://github.com/BerriAI/litellm/pull/37791) - ci: run the enterprise package suite in GitHub Actions by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​37798](https://github.com/BerriAI/litellm/pull/37798) - perf(ci): give the two longest unit shards the runner's spare cores by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​37804](https://github.com/BerriAI/litellm/pull/37804) - test(exception-mapping): pin the status and error-shape table every provider maps to by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​37807](https://github.com/BerriAI/litellm/pull/37807) - fix(terraform): add soft\_budget, tags, and soft\_budget\_alerting\_emails to litellm\_team by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​37918](https://github.com/BerriAI/litellm/pull/37918) - fix(ui): theme the created-key box so it follows dark mode by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​37985](https://github.com/BerriAI/litellm/pull/37985) - fix(ui): restore the public model name tooltip layout in the add model flow by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​37986](https://github.com/BerriAI/litellm/pull/37986) - fix(ui): render team and org tpm/rpm limits of 0 as 0 instead of Unlimited by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​37916](https://github.com/BerriAI/litellm/pull/37916) - fix(ui): repoint the key detail URL to the rotated hash after regenerating by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​37968](https://github.com/BerriAI/litellm/pull/37968) - fix(ui): make playground chat bubbles theme-aware by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​37978](https://github.com/BerriAI/litellm/pull/37978) - fix(UI): correct skill install command and marketplace setup UX by [@​ozolam](https://github.com/ozolam) in [#​33514](https://github.com/BerriAI/litellm/pull/33514) - fix(proxy): skip health checks for strategy routers by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​37966](https://github.com/BerriAI/litellm/pull/37966) - fix(databricks): bill cached tokens at cache rates and add missing Claude pricing by [@​mateo-berri](https://github.com/mateo-berri) in [#​37975](https://github.com/BerriAI/litellm/pull/37975) - fix(anthropic): round-trip thinking blocks to OpenAI backends on /v1/messages by [@​mateo-berri](https://github.com/mateo-berri) in [#​37953](https://github.com/BerriAI/litellm/pull/37953) - fix(a2a): normalize agent card protocolBinding casing before transport match by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​37917](https://github.com/BerriAI/litellm/pull/37917) - fix(interactions): track cost and spend for Google Interactions API requests by [@​mateo-berri](https://github.com/mateo-berri) in [#​33310](https://github.com/BerriAI/litellm/pull/33310) - fix(bedrock): stop emitting an empty assistant delta after the finish\_reason chunk by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​36806](https://github.com/BerriAI/litellm/pull/36806) - fix(anthropic): reconcile enum with declared type in output\_format schema by [@​dkindlund](https://github.com/dkindlund) in [#​37882](https://github.com/BerriAI/litellm/pull/37882) - feat(azure\_ai): support entra id / oauth auth on every azure ai foundry route by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​35415](https://github.com/BerriAI/litellm/pull/35415) - fix(ui): boot the UI image as an arbitrary uid by anchoring nginx writes under /tmp by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​37982](https://github.com/BerriAI/litellm/pull/37982) - fix(proxy): parse form-encoded video edit/extension bodies after auth by [@​Souravrajvi0](https://github.com/Souravrajvi0) in [#​36513](https://github.com/BerriAI/litellm/pull/36513) - fix(anthropic): keep legacy thinking budget\_tokens on Claude 4.6 models on /v1/messages by [@​mateo-berri](https://github.com/mateo-berri) in [#​38108](https://github.com/BerriAI/litellm/pull/38108) - fix(utils): make prompt\_token\_calculator count claude models again by [@​ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#​38130](https://github.com/BerriAI/litellm/pull/38130) - fix(proxy): keep every value of a repeated form key, and gate the tests that hid it by [@​ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#​37908](https://github.com/BerriAI/litellm/pull/37908) - fix(health): apply model\_info.health\_check\_params to health check probes by [@​mateo-berri](https://github.com/mateo-berri) in [#​38101](https://github.com/BerriAI/litellm/pull/38101) - fix(runwayml): route every generation endpoint and fix video cost tracking by [@​mateo-berri](https://github.com/mateo-berri) in [#​38115](https://github.com/BerriAI/litellm/pull/38115) - fix(passthrough): attribute spend and release budget reservation on router-model /vllm and /azure routes by [@​mateo-berri](https://github.com/mateo-berri) in [#​38111](https://github.com/BerriAI/litellm/pull/38111) - fix: match OpenAI SDK wire format on image/video routes by [@​mateo-berri](https://github.com/mateo-berri) in [#​38104](https://github.com/BerriAI/litellm/pull/38104) - fix(ci): give three unit shards a job deadline that outlasts their pytest budget by [@​tin-berri](https://github.com/tin-berri) in [#​38139](https://github.com/BerriAI/litellm/pull/38139) - feat(ui): add Gemini Family auto-router preset by [@​tin-berri](https://github.com/tin-berri) in [#​38138](https://github.com/BerriAI/litellm/pull/38138) - fix(logging\_worker): carry queued tasks across event-loop change instead of dropping them by [@​mateo-berri](https://github.com/mateo-berri) in [#​38144](https://github.com/BerriAI/litellm/pull/38144) - feat(proxy): enforce vector-store upload security controls on /v1/rag/ingest by [@​mateo-berri](https://github.com/mateo-berri) in [#​38135](https://github.com/BerriAI/litellm/pull/38135) - test(e2e): pin require\_managed\_files enforcement behind a marker-gated stack phase by [@​mateo-berri](https://github.com/mateo-berri) in [#​38117](https://github.com/BerriAI/litellm/pull/38117) - refactor(ui): move the dashboard onto class-variance-authority by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38125](https://github.com/BerriAI/litellm/pull/38125) - refactor(utils)!: delete prompt\_token\_calculator by [@​ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#​38132](https://github.com/BerriAI/litellm/pull/38132) - fix(auto-router): list configured auto-routers in the usage picker before they have traffic by [@​tin-berri](https://github.com/tin-berri) in [#​38129](https://github.com/BerriAI/litellm/pull/38129) - refactor(ui): install the shadcn field primitive by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38126](https://github.com/BerriAI/litellm/pull/38126) - fix(complexity\_router): keep both ends of a clipped classifier context turn by [@​tin-berri](https://github.com/tin-berri) in [#​38141](https://github.com/BerriAI/litellm/pull/38141) - fix(ci): ignore-list recursive form-field flatteners in recursive\_detector by [@​mateo-berri](https://github.com/mateo-berri) in [#​38149](https://github.com/BerriAI/litellm/pull/38149) - fix(passthrough): stop leaking the caller's virtual key on credential-less Vertex passthrough by [@​mateo-berri](https://github.com/mateo-berri) in [#​38114](https://github.com/BerriAI/litellm/pull/38114) - fix(router): stop copying forwarded credentials into retry breadcrumbs by [@​mateo-berri](https://github.com/mateo-berri) in [#​38133](https://github.com/BerriAI/litellm/pull/38133) - feat(e2e): record and replay streamed provider responses chunk-for-chunk by [@​mateo-berri](https://github.com/mateo-berri) in [#​38136](https://github.com/BerriAI/litellm/pull/38136) - fix: tolerate stream chunks without a choices key in stream\_chunk\_builder by [@​AkshaySasi](https://github.com/AkshaySasi) in [#​34382](https://github.com/BerriAI/litellm/pull/34382) - fix(files): decode x-litellm-model encoded file\_id in chat + responses by [@​hclsys](https://github.com/hclsys) in [#​29832](https://github.com/BerriAI/litellm/pull/29832) - fix(videos): forward uploaded source file on /v1/videos/edits to the provider by [@​mateo-berri](https://github.com/mateo-berri) in [#​38155](https://github.com/BerriAI/litellm/pull/38155) - fix(s3\_v2): percent-encode object keys once so signed and sent URLs match by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38005](https://github.com/BerriAI/litellm/pull/38005) - feat(ui): add error-code drilldown for failed requests on caching page by [@​ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#​38156](https://github.com/BerriAI/litellm/pull/38156) - feat(search): add Grounding with Bing Search (bing\_grounding) as a search provider by [@​mateo-berri](https://github.com/mateo-berri) in [#​38119](https://github.com/BerriAI/litellm/pull/38119) - ci: ban row-rewriting DML from prisma migrations by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​37899](https://github.com/BerriAI/litellm/pull/37899) - fix(langsmith): keep root-run ids self-consistent so batch ingest stops rejecting header-tagged requests by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​38116](https://github.com/BerriAI/litellm/pull/38116) - ci(e2e): record the e2e suite weekly and replay it on weekdays with zero egress by [@​mateo-berri](https://github.com/mateo-berri) in [#​38163](https://github.com/BerriAI/litellm/pull/38163) - chore(codeowners): unown ui container plumbing and generated files by [@​ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#​38124](https://github.com/BerriAI/litellm/pull/38124) - fix(logging): skip parsing redacted tool call arguments by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38169](https://github.com/BerriAI/litellm/pull/38169) - feat(complexity\_router): bound the classifier context block, not each turn in it by [@​tin-berri](https://github.com/tin-berri) in [#​38145](https://github.com/BerriAI/litellm/pull/38145) - fix(http\_handler): dispose aiohttp session when AsyncHTTPHandler is finalized without a running loop by [@​anmolg1997](https://github.com/anmolg1997) in [#​36670](https://github.com/BerriAI/litellm/pull/36670) - fix(proxy): reset a stuck team member's budget by [@​yassin-berriai](https://github.com/yassin-berriai) in [#​37971](https://github.com/BerriAI/litellm/pull/37971) - fix(anthropic/bedrock): request summarized adaptive thinking for reasoning\_effort and use provider thinking token counts by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​37979](https://github.com/BerriAI/litellm/pull/37979) - fix(completion\_extras): forward reasoning\_effort=max through the Responses API bridge by [@​mateo-berri](https://github.com/mateo-berri) in [#​38222](https://github.com/BerriAI/litellm/pull/38222) - feat(vertex\_ai): add native Vertex AI Interactions API support by [@​mateo-berri](https://github.com/mateo-berri) in [#​38229](https://github.com/BerriAI/litellm/pull/38229) - test(mcp): drain the logging worker after each test so queued callbacks cannot leak into the next test by [@​ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#​38228](https://github.com/BerriAI/litellm/pull/38228) - fix(ui): forward OAuth issuer/authorization/token/registration URLs from the MCP server edit form by [@​yassin-berriai](https://github.com/yassin-berriai) in [#​38154](https://github.com/BerriAI/litellm/pull/38154) - fix(together\_ai): default endpoints to api.together.ai instead of api.together.xyz by [@​mateo-berri](https://github.com/mateo-berri) in [#​38233](https://github.com/BerriAI/litellm/pull/38233) - fix(bedrock\_mantle): register a Bedrock runtime passthrough config so /bedrock/model/<deployment>/invoke works by [@​mateo-berri](https://github.com/mateo-berri) in [#​38231](https://github.com/BerriAI/litellm/pull/38231) - fix(router): resolve provider from api\_base in deployment validation and acompletion by [@​mateo-berri](https://github.com/mateo-berri) in [#​38235](https://github.com/BerriAI/litellm/pull/38235) - fix(model\_prices): raise bedrock\_mantle gpt-5.6 max\_input\_tokens to Mantle's enforced [`1050000`](https://github.com/BerriAI/litellm/commit/1050000) by [@​mateo-berri](https://github.com/mateo-berri) in [#​38225](https://github.com/BerriAI/litellm/pull/38225) - fix(bedrock\_mantle): normalize Codex input item types Mantle rejects by [@​mateo-berri](https://github.com/mateo-berri) in [#​38227](https://github.com/BerriAI/litellm/pull/38227) - fix(proxy): store the actual selected model in spend logs for Azure Model Router by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​37770](https://github.com/BerriAI/litellm/pull/37770) - feat(router): per-group supported reasoning efforts with the max level by [@​tin-berri](https://github.com/tin-berri) in [#​37897](https://github.com/BerriAI/litellm/pull/37897) - fix(proxy): stop expected 4xx responses from saturating worker CPU on failure logging by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38102](https://github.com/BerriAI/litellm/pull/38102) - fix(caching): use upstream RedisCluster on redis-py with per-connection recovery by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38171](https://github.com/BerriAI/litellm/pull/38171) - perf(auth): drop guaranteed-miss internal-cache Redis read from team object lookup by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38073](https://github.com/BerriAI/litellm/pull/38073) - fix(together\_ai): route chat completions through a dedicated TogetherAIChatConfig by [@​mateo-berri](https://github.com/mateo-berri) in [#​38248](https://github.com/BerriAI/litellm/pull/38248) - fix(ui): read reasoning tokens from Responses API output\_tokens\_details by [@​yassin-berriai](https://github.com/yassin-berriai) in [#​37952](https://github.com/BerriAI/litellm/pull/37952) - fix(dashboard): don't show a stale provider prompt-cache chip on a response-cache hit by [@​yassin-berriai](https://github.com/yassin-berriai) in [#​37951](https://github.com/BerriAI/litellm/pull/37951) - fix(ui): render tag-based guardrail mode instead of crashing the guardrails page by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​37493](https://github.com/BerriAI/litellm/pull/37493) - fix(scim): return user\_id as Group members\[].value on transformed group responses by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38161](https://github.com/BerriAI/litellm/pull/38161) - fix(scim): preserve existing team memberships when POST /Users adoption carries no groups by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38166](https://github.com/BerriAI/litellm/pull/38166) - fix(router): support mid-stream fallback for anthropic\_messages route type by [@​yassin-berriai](https://github.com/yassin-berriai) in [#​38153](https://github.com/BerriAI/litellm/pull/38153) - fix(auth): support wildcard prefixes in jwt team\_allowed\_routes by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​37756](https://github.com/BerriAI/litellm/pull/37756) - feat(models): add missing Together AI serverless models to the cost map by [@​mateo-berri](https://github.com/mateo-berri) in [#​38230](https://github.com/BerriAI/litellm/pull/38230) - fix(cerebras)!: add max\_retries and extra\_headers to get\_supported\_openai\_params by [@​deepanshululla](https://github.com/deepanshululla) in [#​36601](https://github.com/BerriAI/litellm/pull/36601) - fix(anthropic): translate tool\_result document blocks in the /v1/messages bridge by [@​mateo-berri](https://github.com/mateo-berri) in [#​38251](https://github.com/BerriAI/litellm/pull/38251) - fix(team): serialize member\_add, member\_delete, and delete under the team's advisory lock by [@​yassin-berriai](https://github.com/yassin-berriai) in [#​37969](https://github.com/BerriAI/litellm/pull/37969) - docs(pr-template): split Caveats bullets into severity tiers and call for plain engineering language by [@​mateo-berri](https://github.com/mateo-berri) in [#​38252](https://github.com/BerriAI/litellm/pull/38252) - fix(anthropic): carry tool\_result document blocks through the /v1/messages responses bridge by [@​mateo-berri](https://github.com/mateo-berri) in [#​38261](https://github.com/BerriAI/litellm/pull/38261) - fix(together\_ai): pass tools through for models missing from the registry by [@​mateo-berri](https://github.com/mateo-berri) in [#​38265](https://github.com/BerriAI/litellm/pull/38265) - fix(anthropic): carry user-content document blocks through the /v1/messages responses bridge by [@​mateo-berri](https://github.com/mateo-berri) in [#​38267](https://github.com/BerriAI/litellm/pull/38267) - fix(rerank): emit latency and cost headers on /rerank by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​35419](https://github.com/BerriAI/litellm/pull/35419) - perf(streaming): add shared JSONFragmentAccumulator for Vertex and Anthropic by [@​deepanshululla](https://github.com/deepanshululla) in [#​36610](https://github.com/BerriAI/litellm/pull/36610) - fix(together\_ai): strip internal thinking fields from outbound messages, keep reasoning\_content by [@​mateo-berri](https://github.com/mateo-berri) in [#​38275](https://github.com/BerriAI/litellm/pull/38275) - fix(router): persist attempted\_fallbacks and original\_model\_group into spend logs metadata by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​38107](https://github.com/BerriAI/litellm/pull/38107) - fix(logging): redact tool call arguments to valid JSON and preserve null content by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​38182](https://github.com/BerriAI/litellm/pull/38182) - fix(ui): stack policy flow builder below the popup layer so guardrail options render by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38273](https://github.com/BerriAI/litellm/pull/38273) - test: gate the test tree on B003 so a test cannot swap os.environ for a plain dict by [@​ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#​38274](https://github.com/BerriAI/litellm/pull/38274) - refactor(repositories): type prisma table access with one generic protocol by [@​mateo-berri](https://github.com/mateo-berri) in [#​38205](https://github.com/BerriAI/litellm/pull/38205) - fix(anthropic): buffer streamed responses carrying server-fulfilled tools so retrieval tool calls never reach the client by [@​mateo-berri](https://github.com/mateo-berri) in [#​36245](https://github.com/BerriAI/litellm/pull/36245) - test(together\_ai): regression suite across chat, responses, and messages surfaces by [@​mateo-berri](https://github.com/mateo-berri) in [#​38283](https://github.com/BerriAI/litellm/pull/38283) - feat(logging): add async\_post\_call\_failure\_deployment\_hook by [@​deepanshululla](https://github.com/deepanshululla) in [#​36657](https://github.com/BerriAI/litellm/pull/36657) - chore: bump litellm-enterprise 0.1.59 -> 0.1.60, litellm 1.99.0 -> 1.100.0 by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38243](https://github.com/BerriAI/litellm/pull/38243) - test(e2e): cover Together AI reasoning, tool calls, template kwargs, and cost through a live proxy by [@​mateo-berri](https://github.com/mateo-berri) in [#​38286](https://github.com/BerriAI/litellm/pull/38286) - fix(logging): keep tracebacks for provider-originated 4xx errors by [@​mateo-berri](https://github.com/mateo-berri) in [#​38296](https://github.com/BerriAI/litellm/pull/38296) - chore(ci): promote internal staging to main by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38293](https://github.com/BerriAI/litellm/pull/38293) - refactor(ui): install the shadcn alert primitive by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38300](https://github.com/BerriAI/litellm/pull/38300) - refactor(ui): re-pull label, textarea, separator and skeleton from the registry by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38302](https://github.com/BerriAI/litellm/pull/38302) - feat(prometheus): configure deployment caller identity by [@​mphilippnv](https://github.com/mphilippnv) in [#​38221](https://github.com/BerriAI/litellm/pull/38221) - test(e2e): let the Together replayed-reasoning case survive a single provider miss by [@​mateo-berri](https://github.com/mateo-berri) in [#​38314](https://github.com/BerriAI/litellm/pull/38314) - fix(otel): map /v1/messages provider errors before failure logging by [@​mateo-berri](https://github.com/mateo-berri) in [#​38310](https://github.com/BerriAI/litellm/pull/38310) - fix(exceptions): map upstream status codes for providers with no exception\_type branch by [@​mateo-berri](https://github.com/mateo-berri) in [#​38318](https://github.com/BerriAI/litellm/pull/38318) - fix(passthrough): record ownership of streamed responses under managed ids by [@​mateo-berri](https://github.com/mateo-berri) in [#​38320](https://github.com/BerriAI/litellm/pull/38320) - fix(proxy): encrypt streamed responses ids on /openai/v1/responses and /responses aliases by [@​mateo-berri](https://github.com/mateo-berri) in [#​38325](https://github.com/BerriAI/litellm/pull/38325) - test(cost-calc): pin the rate fallbacks inside a tiered-pricing tier by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38327](https://github.com/BerriAI/litellm/pull/38327) - test(e2e): cover the Bedrock provider-feature cells customers run by [@​mateo-berri](https://github.com/mateo-berri) in [#​38232](https://github.com/BerriAI/litellm/pull/38232) - fix(together\_ai): fail open on response\_format instead of dropping it for unregistered models by [@​mateo-berri](https://github.com/mateo-berri) in [#​38269](https://github.com/BerriAI/litellm/pull/38269) - fix(proxy): honor DATABASE\_DISABLE\_PREPARED\_STATEMENTS in componentized entrypoints by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38363](https://github.com/BerriAI/litellm/pull/38363) - fix(anthropic-responses): preserve structured output strictness by [@​eugene-yao-zocdoc](https://github.com/eugene-yao-zocdoc) in [#​38211](https://github.com/BerriAI/litellm/pull/38211) - chore(typing): roll up the daily tech debt cleanups from Aug 20 to Aug 26 by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​37922](https://github.com/BerriAI/litellm/pull/37922) - fix(router): resolve hidden aliases for explicit lookup by [@​daniel-meismer-zocdoc](https://github.com/daniel-meismer-zocdoc) in [#​38272](https://github.com/BerriAI/litellm/pull/38272) - fix(ui): keep focus in the add model public name input while typing by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38366](https://github.com/BerriAI/litellm/pull/38366) - fix(model\_prices): price 1-hour cache writes on claude-3-haiku and claude-3-opus at 2x input by [@​mateo-berri](https://github.com/mateo-berri) in [#​38371](https://github.com/BerriAI/litellm/pull/38371) - fix(proxy): keep the caller's Google token on credential-less Vertex passthrough under custom auth by [@​mateo-berri](https://github.com/mateo-berri) in [#​38299](https://github.com/BerriAI/litellm/pull/38299) - fix(mcp): preserve provider access token lifetime by [@​daniel-meismer-zocdoc](https://github.com/daniel-meismer-zocdoc) in [#​38271](https://github.com/BerriAI/litellm/pull/38271) - chore(ui): remove stale "New" badges from the dashboard by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38374](https://github.com/BerriAI/litellm/pull/38374) - test(cost-estimate): pin the prices and period totals /cost/estimate returns by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38315](https://github.com/BerriAI/litellm/pull/38315) - fix(ci): let the mutation workflow find covered lines so it generates mutants by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38305](https://github.com/BerriAI/litellm/pull/38305) - fix(model\_prices): raise bedrock\_mantle gpt-5.5 and gpt-5.4 max\_input\_tokens to Mantle's enforced [`1050000`](https://github.com/BerriAI/litellm/commit/1050000) by [@​mateo-berri](https://github.com/mateo-berri) in [#​38368](https://github.com/BerriAI/litellm/pull/38368) - fix(azure/realtime): authenticate realtime websocket with Azure AD token when no api-key by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​34658](https://github.com/BerriAI/litellm/pull/34658) - fix(bedrock): map reasoning\_effort to reasoning.effort for OpenAI GPT-5.x on Converse by [@​6matt](https://github.com/6matt) in [#​38279](https://github.com/BerriAI/litellm/pull/38279) - test(prometheus): cover caller-identity config failure cases by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​38380](https://github.com/BerriAI/litellm/pull/38380) - fix(redis): support credential providers across clients by [@​eugene-yao-zocdoc](https://github.com/eugene-yao-zocdoc) in [#​38094](https://github.com/BerriAI/litellm/pull/38094) - fix(health): support `mode: image_edit` in health checks by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38291](https://github.com/BerriAI/litellm/pull/38291) - fix(cost-map): add US data residency uplift to claude-sonnet-4-6 and mythos entries by [@​mateo-berri](https://github.com/mateo-berri) in [#​38369](https://github.com/BerriAI/litellm/pull/38369) - fix(anthropic): raise missing-credential error on /v1/messages passthrough by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38240](https://github.com/BerriAI/litellm/pull/38240) - fix(mcp): complete DCR bridge OAuth challenges by [@​daniel-meismer-zocdoc](https://github.com/daniel-meismer-zocdoc) in [#​37384](https://github.com/BerriAI/litellm/pull/37384) - test(proxy): pin the request-validation contracts in proxy/\_types.py by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38307](https://github.com/BerriAI/litellm/pull/38307) - docs(CLAUDE.md): add pull-before-work rule by [@​mateo-berri](https://github.com/mateo-berri) in [#​38386](https://github.com/BerriAI/litellm/pull/38386) - fix(anthropic): scale cache costs by fast mode and trust served speed by [@​mateo-berri](https://github.com/mateo-berri) in [#​38378](https://github.com/BerriAI/litellm/pull/38378) - fix(pricing): add azure gpt-5.6 cache write rates and correct data zone priority by [@​mateo-berri](https://github.com/mateo-berri) in [#​38370](https://github.com/BerriAI/litellm/pull/38370) - docs: tighten the pull-before-work rule in CLAUDE.md by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38389](https://github.com/BerriAI/litellm/pull/38389) - fix(health): strip credential fields from GET /health output by [@​Siraj637909](https://github.com/Siraj637909) in [#​37090](https://github.com/BerriAI/litellm/pull/37090) - fix(minimax): attach MINIMAX\_API\_KEY on anthropic messages requests by [@​mateo-berri](https://github.com/mateo-berri) in [#​38393](https://github.com/BerriAI/litellm/pull/38393) - refactor(ui): replace hand-picked z-index values with one named scale and lint it by [@​ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#​38282](https://github.com/BerriAI/litellm/pull/38282) - fix(health): probe Azure GA realtime path for transcription-only models by [@​mateo-berri](https://github.com/mateo-berri) in [#​38390](https://github.com/BerriAI/litellm/pull/38390) - fix(bedrock): parse cacheDetails for Converse 1h/5m cache write cost split by [@​danielva-monday](https://github.com/danielva-monday) in [#​36762](https://github.com/BerriAI/litellm/pull/36762) - fix(caching): flush async cache writes cancelled at event loop shutdown by [@​mateo-berri](https://github.com/mateo-berri) in [#​38385](https://github.com/BerriAI/litellm/pull/38385) - fix(router): resolve model\_group\_alias before pre-routing strategy dispatch by [@​tin-berri](https://github.com/tin-berri) in [#​38382](https://github.com/BerriAI/litellm/pull/38382) - feat(proxy): enforce rpm/tpm on model add + fix validation error title in UI by [@​kunal2002](https://github.com/kunal2002) in [#​36518](https://github.com/BerriAI/litellm/pull/36518) - refactor(ui): move every page header onto the shared PageHeader by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38306](https://github.com/BerriAI/litellm/pull/38306) - fix(proxy): stop cache eviction errors from failing /key/update by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38308](https://github.com/BerriAI/litellm/pull/38308) - fix(aiohttp): honor global ssl\_verify on the aiohttp\_openai handler path by [@​mateo-berri](https://github.com/mateo-berri) in [#​38400](https://github.com/BerriAI/litellm/pull/38400) - fix(logging\_worker): rescue dequeued logging tasks lost at event loop close by [@​mateo-berri](https://github.com/mateo-berri) in [#​38394](https://github.com/BerriAI/litellm/pull/38394) - fix(caching): require the namespace delimiter when checking already-namespaced redis keys by [@​mateo-berri](https://github.com/mateo-berri) in [#​38403](https://github.com/BerriAI/litellm/pull/38403) - fix(prompts): reject keyed prompt\_data with prompt\_id and populate prompt version by [@​mateo-berri](https://github.com/mateo-berri) in [#​38404](https://github.com/BerriAI/litellm/pull/38404) - fix(cost\_calculator): resolve real cost key when model\_name alias contains '/' by [@​ksk2023](https://github.com/ksk2023) in [#​38344](https://github.com/BerriAI/litellm/pull/38344) - fix(cost-map): correct prompt\_cache\_min\_tokens for Claude Fable 5 and backfill Anthropic re-export entries by [@​mateo-berri](https://github.com/mateo-berri) in [#​38405](https://github.com/BerriAI/litellm/pull/38405) - test(azure-ai): pin the 422 retry that drops the field the provider rejected by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38309](https://github.com/BerriAI/litellm/pull/38309) - refactor(ui): read the auto-router tier set through one row list by [@​tin-berri](https://github.com/tin-berri) in [#​38408](https://github.com/BerriAI/litellm/pull/38408) - fix(proxy): stop empty DB router\_settings lists from clobbering yaml fallbacks by [@​mateo-berri](https://github.com/mateo-berri) in [#​38406](https://github.com/BerriAI/litellm/pull/38406) - fix(team): allow no-reset default budgets for team members by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​37708](https://github.com/BerriAI/litellm/pull/37708) - fix: forward image content lists to DeepSeek vision models by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​38397](https://github.com/BerriAI/litellm/pull/38397) - fix(fireworks\_ai): stop using the trace id as the session affinity key by [@​Hamjaster](https://github.com/Hamjaster) in [#​35754](https://github.com/BerriAI/litellm/pull/35754) - fix(gemini-realtime): keep the client's voice on Vertex AI native-audio Live by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​38395](https://github.com/BerriAI/litellm/pull/38395) - fix(vertex\_ai): bill Gemini grounding per unique web search query by [@​ousamabenyounes](https://github.com/ousamabenyounes) in [#​36397](https://github.com/BerriAI/litellm/pull/36397) - fix(health): make the image\_edit health probe moderation-safe by [@​mateo-berri](https://github.com/mateo-berri) in [#​38417](https://github.com/BerriAI/litellm/pull/38417) - test: gate the test tree on fifteen assertion and handler rules it already satisfies by [@​ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#​38361](https://github.com/BerriAI/litellm/pull/38361) - fix(proxy): key lazy openapi stubs off registered features, not sys.modules by [@​mateo-berri](https://github.com/mateo-berri) in [#​38416](https://github.com/BerriAI/litellm/pull/38416) - fix(proxy): derive auto-router health from its underlying models by [@​tin-berri](https://github.com/tin-berri) in [#​38174](https://github.com/BerriAI/litellm/pull/38174) - fix(responses): let cache-control injection reach the system prompt from instructions by [@​tin-berri](https://github.com/tin-berri) in [#​38120](https://github.com/BerriAI/litellm/pull/38120) - fix(gemini): bill Google Maps grounding as its own SKU by [@​mateo-berri](https://github.com/mateo-berri) in [#​38418](https://github.com/BerriAI/litellm/pull/38418) - fix(speech): keep proxy metadata and completion cost through the TTS completion bridge by [@​mateo-berri](https://github.com/mateo-berri) in [#​38414](https://github.com/BerriAI/litellm/pull/38414) - fix: map Gemini ON\_DEMAND\_FLEX traffic type to flex service tier by [@​bisma-nawaz](https://github.com/bisma-nawaz) in [#​37724](https://github.com/BerriAI/litellm/pull/37724) - feat(langfuse): support langfuse\_environment as a per-key dynamic callback param by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38264](https://github.com/BerriAI/litellm/pull/38264) - feat(proxy): hide unhealthy models from model listings, opt-in by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38313](https://github.com/BerriAI/litellm/pull/38313) - fix(mcp): honor admin-entered OAuth URLs on authorize after issuer yield by [@​mateo-berri](https://github.com/mateo-berri) in [#​38379](https://github.com/BerriAI/litellm/pull/38379) - fix(model\_prices): correct gemini-3.5-flash-lite flex cache-read pricing by [@​mateo-berri](https://github.com/mateo-berri) in [#​38422](https://github.com/BerriAI/litellm/pull/38422) - fix(cost): price gemini-live-2.5-flash-native-audio realtime sessions by [@​mateo-berri](https://github.com/mateo-berri) in [#​38419](https://github.com/BerriAI/litellm/pull/38419) - fix(cost-map): correct Gemini TTS and native-audio rates by [@​mateo-berri](https://github.com/mateo-berri) in [#​38412](https://github.com/BerriAI/litellm/pull/38412) - fix(prompts): propagate PATCHed prompt templates to every worker and pod by [@​mateo-berri](https://github.com/mateo-berri) in [#​38411](https://github.com/BerriAI/litellm/pull/38411) - fix(model\_prices): bill gemini -latest/preview alias cache reads at 10% of input by [@​mateo-berri](https://github.com/mateo-berri) in [#​38423](https://github.com/BerriAI/litellm/pull/38423) - fix(proxy): sync search tools into the router on management writes by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38392](https://github.com/BerriAI/litellm/pull/38392) - feat(guardrails): track Azure Prompt Shield usage and cost with spend isolation by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​38387](https://github.com/BerriAI/litellm/pull/38387) - fix(prompts): apply prompt templates before routing on /v1/responses and honor ignore\_prompt\_manager\_model by [@​mateo-berri](https://github.com/mateo-berri) in [#​38407](https://github.com/BerriAI/litellm/pull/38407) - fix(cost): make cost-breakdown headers respect service tier by [@​mateo-berri](https://github.com/mateo-berri) in [#​38424](https://github.com/BerriAI/litellm/pull/38424) - fix(mcp): add litellm\[mcp] extra and actionable error when streamable\_http\_client is missing by [@​mateo-berri](https://github.com/mateo-berri) in [#​38399](https://github.com/BerriAI/litellm/pull/38399) - revert(proxy): remove router\_model\_name from auto-routed response bodies by [@​tin-berri](https://github.com/tin-berri) in [#​38429](https://github.com/BerriAI/litellm/pull/38429) - fix(google\_genai): price streamed generateContent with the provider that served it by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​36055](https://github.com/BerriAI/litellm/pull/36055) - fix(logging): stop billing and logging response reads as LLM calls by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​36890](https://github.com/BerriAI/litellm/pull/36890) - fix(budget): serialize model\_max\_budget before the /budget/update write by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38430](https://github.com/BerriAI/litellm/pull/38430) - fix(ui): block the auto-router submit on a missing classifier model and an orphaned keyword rule by [@​tin-berri](https://github.com/tin-berri) in [#​38427](https://github.com/BerriAI/litellm/pull/38427) - feat(complexity\_router): heuristic-first classifier chaining by [@​tin-berri](https://github.com/tin-berri) in [#​38428](https://github.com/BerriAI/litellm/pull/38428) - test(e2e): un-skip the per-model budget update case by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38437](https://github.com/BerriAI/litellm/pull/38437) - fix(cost): stop double-billing cached tokens that overlap a modality by [@​Srivatsa03](https://github.com/Srivatsa03) in [#​37407](https://github.com/BerriAI/litellm/pull/37407) - feat(ui): add Teams list CSV export with budgets, model grants, and rate limits by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38436](https://github.com/BerriAI/litellm/pull/38436) - fix(mcp): accept raw x-litellm-api-key on streamable HTTP admission by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38364](https://github.com/BerriAI/litellm/pull/38364) - fix: bound row count on GET /spend/logs to stop unbounded LiteLLM\_SpendLogs scans by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38420](https://github.com/BerriAI/litellm/pull/38420) - fix(scim): apply default\_team\_params (incl. models) to SCIM-created teams by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38433](https://github.com/BerriAI/litellm/pull/38433) - fix(prompts): propagate prompt deletes to every worker and pod by [@​mateo-berri](https://github.com/mateo-berri) in [#​38434](https://github.com/BerriAI/litellm/pull/38434) - fix(anthropic\_adapter): carry web search cost into /v1/messages breakdown headers by [@​mateo-berri](https://github.com/mateo-berri) in [#​38439](https://github.com/BerriAI/litellm/pull/38439) - fix(ui): show custom technical keywords on every router whose scorer runs by [@​tin-berri](https://github.com/tin-berri) in [#​38451](https://github.com/BerriAI/litellm/pull/38451) - fix(e2e): move the vertex realtime suite off the retired Live preview model by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38454](https://github.com/BerriAI/litellm/pull/38454) - feat(newrelic): per-team cost and usage metrics via team callbacks by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​37610](https://github.com/BerriAI/litellm/pull/37610) - fix(ui): carry a preset's per-tier litellm\_params through the prefill by [@​tin-berri](https://github.com/tin-berri) in [#​38453](https://github.com/BerriAI/litellm/pull/38453) - fix(e2e): size the mid-conversation-system cache prefix above the minimum deterministically by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38468](https://github.com/BerriAI/litellm/pull/38468) - fix(e2e): disable thinking on the gemini chat cost test instead of racing its budget by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38469](https://github.com/BerriAI/litellm/pull/38469) - feat(ui): put the auto-router savings hero on a spend rail and a four-tile row by [@​tin-berri](https://github.com/tin-berri) in [#​38470](https://github.com/BerriAI/litellm/pull/38470) - feat(ui): toggle internal health check visibility in request logs by [@​mateo-berri](https://github.com/mateo-berri) in [#​38391](https://github.com/BerriAI/litellm/pull/38391) - fix(mcp): canonicalize bearer scheme on bridge egress by [@​daniel-meismer-zocdoc](https://github.com/daniel-meismer-zocdoc) in [#​38398](https://github.com/BerriAI/litellm/pull/38398) - refactor: clean up fresh tech debt from 2026-08-27 window by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38484](https://github.com/BerriAI/litellm/pull/38484) - fix(exception\_mapping\_utils): map unmapped exceptions when model and provider are unset by [@​mateo-berri](https://github.com/mateo-berri) in [#​38496](https://github.com/BerriAI/litellm/pull/38496) - fix(ui\_sso): resolve highest privilege Entra app role, not first in claim by [@​imranismail](https://github.com/imranismail) in [#​36728](https://github.com/BerriAI/litellm/pull/36728) - fix(proxy): regenerate lazy OpenAPI snapshot and guard it in CI by [@​mateo-berri](https://github.com/mateo-berri) in [#​38410](https://github.com/BerriAI/litellm/pull/38410) - feat(ui): add cache hit/miss filter to Request Logs by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38432](https://github.com/BerriAI/litellm/pull/38432) - fix(bedrock): sign rerank requests with the shared header-filtered SigV4 helper (internal copy of [#​36462](https://github.com/BerriAI/litellm/issues/36462)) by [@​mateo-berri](https://github.com/mateo-berri) in [#​38093](https://github.com/BerriAI/litellm/pull/38093) - fix(bedrock): sign rerank requests with the shared, header-filtered SigV4 helper by [@​noahnistler](https://github.com/noahnistler) in [#​36462](https://github.com/BerriAI/litellm/pull/36462) - fix(ui): order the auto-routers table newest first so a new router lands on page one by [@​tin-berri](https://github.com/tin-berri) in [#​38545](https://github.com/BerriAI/litellm/pull/38545) - feat(ui): run the Anthropic Family preset's reasoning tier on Opus 5 at high thinking by [@​tin-berri](https://github.com/tin-berri) in [#​38490](https://github.com/BerriAI/litellm/pull/38490) - build(ui): bump nginx to 1.31-alpine by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38541](https://github.com/BerriAI/litellm/pull/38541) - feat(otel): support per-team/per-key service.name for OTel v2 destinations by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38532](https://github.com/BerriAI/litellm/pull/38532) - test(e2e): de-flake the cost-header cache read and the router fallback control by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38435](https://github.com/BerriAI/litellm/pull/38435) - feat(gemini): day-0 support for gemini-3.5-transcribe and transcribe-live by [@​mateo-berri](https://github.com/mateo-berri) in [#​38540](https://github.com/BerriAI/litellm/pull/38540) - feat(health): opt-in model-group allowlist for background health checks and health-check routing by [@​mateo-berri](https://github.com/mateo-berri) in [#​38539](https://github.com/BerriAI/litellm/pull/38539) - fix(mcp): keep upstream OAuth Authorization when jwt signer hook injects one on tools/call by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38555](https://github.com/BerriAI/litellm/pull/38555) - fix: suppress misleading register\_model unresolved-cost warnings for entries without custom pricing by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38542](https://github.com/BerriAI/litellm/pull/38542) - feat(proxy): opt-in budget rollover carrying overage into the next window by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38514](https://github.com/BerriAI/litellm/pull/38514) - fix(auth): skip guaranteed-miss team lookup for the litellm-dashboard sentinel by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38471](https://github.com/BerriAI/litellm/pull/38471) - fix(key\_management): allow /key/update to keep or shrink MCP server grants the key already holds by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38463](https://github.com/BerriAI/litellm/pull/38463) - fix: keep schema reconciliation from fighting a partitioned LiteLLM\_SpendLogs by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38452](https://github.com/BerriAI/litellm/pull/38452) - fix(ui): open select popups below the trigger instead of over it by [@​tin-berri](https://github.com/tin-berri) in [#​38554](https://github.com/BerriAI/litellm/pull/38554) - fix(realtime): bill trailing audio when a Gemini transcribe Live session closes by [@​mateo-berri](https://github.com/mateo-berri) in [#​38563](https://github.com/BerriAI/litellm/pull/38563) - test(e2e): cover key generate and update on the Admin UI path by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38448](https://github.com/BerriAI/litellm/pull/38448) - chore: bump litellm-enterprise 0.1.60 -> 0.1.61, litellm-proxy-extras 0.4.89 -> 0.4.90 by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38566](https://github.com/BerriAI/litellm/pull/38566) - fix(ui): let the paginated search select keep what the user types by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38475](https://github.com/BerriAI/litellm/pull/38475) - fix(otel): anchor MCP tool-call spans to the gateway's own trace, link the client's context by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​38317](https://github.com/BerriAI/litellm/pull/38317) - fix: roll up the open deflake fixes for the MCP logging queue, PTU rollup, license gate, and pricing test isolation by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​37833](https://github.com/BerriAI/litellm/pull/37833) - fix(model\_prices): rolling registry audit - verified models and rates for Novita, DeepInfra, W\&B, Bedrock Sol, Gemini, Fireworks, Azure gpt-5.6, Mistral, Together by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38207](https://github.com/BerriAI/litellm/pull/38207) - test(together\_ai): assert fail-open supported params for models missing from the registry by [@​mateo-berri](https://github.com/mateo-berri) in [#​38487](https://github.com/BerriAI/litellm/pull/38487) - test(e2e): let the together tool tests accept parallel calls by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38567](https://github.com/BerriAI/litellm/pull/38567) - feat(mcp): let a resolved OAuth token target a custom upstream header by [@​tin-berri](https://github.com/tin-berri) in [#​38456](https://github.com/BerriAI/litellm/pull/38456) - feat(together\_ai): map reasoning\_effort per model class by [@​mateo-berri](https://github.com/mateo-berri) in [#​38263](https://github.com/BerriAI/litellm/pull/38263) - feat(dashscope): support qwen-image-3.0 and qwen-image-3.0-pro image generation by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38449](https://github.com/BerriAI/litellm/pull/38449) - fix(cost): apply Together AI cache read pricing and per-model registry rates by [@​mateo-berri](https://github.com/mateo-berri) in [#​38280](https://github.com/BerriAI/litellm/pull/38280) - fix(guardrails): forward aws\_external\_id when the bedrock guardrail assumes a role by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38376](https://github.com/BerriAI/litellm/pull/38376) - fix(transcription): synthesize srt/vtt output for adapters without native subtitle formats by [@​mateo-berri](https://github.com/mateo-berri) in [#​38561](https://github.com/BerriAI/litellm/pull/38561) - fix(streaming): preserve provider service-tier metadata so Vertex flex streams bill at flex rates by [@​mateo-berri](https://github.com/mateo-berri) in [#​38458](https://github.com/BerriAI/litellm/pull/38458) - fix(realtime): bill Gemini Live native-audio output tokens at the audio rate by [@​mateo-berri](https://github.com/mateo-berri) in [#​38457](https://github.com/BerriAI/litellm/pull/38457) - fix(anthropic): carry tool\_reference tool results through the guardrail translation round trip by [@​mateo-berri](https://github.com/mateo-berri) in [#​38465](https://github.com/BerriAI/litellm/pull/38465) - fix(anthropic-adapter): pass provider-native and OpenAI-format tools through on /v1/messages by [@​mateo-berri](https://github.com/mateo-berri) in [#​38431](https://github.com/BerriAI/litellm/pull/38431) - test(e2e): serve the vision image from our own fixture by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38575](https://github.com/BerriAI/litellm/pull/38575) - feat(together\_ai): add zai-org/GLM-5.3-Flash to the model registry by [@​mateo-berri](https://github.com/mateo-berri) in [#​38486](https://github.com/BerriAI/litellm/pull/38486) - fix(ui): stop server-searched comboboxes from clobbering picks and queries by [@​ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#​38574](https://github.com/BerriAI/litellm/pull/38574) - feat(model\_prices): let a map entry declare its exact reasoning\_effort levels by [@​tin-berri](https://github.com/tin-berri) in [#​38481](https://github.com/BerriAI/litellm/pull/38481) - fix(anthropic): carry the adaptive effort tier to every bridged Claude target by [@​tin-berri](https://github.com/tin-berri) in [#​38533](https://github.com/BerriAI/litellm/pull/38533) - feat(alerting): add native Microsoft Teams alerting destination by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38367](https://github.com/BerriAI/litellm/pull/38367) - chore(proxy): resync the generated API artifacts with the current models by [@​tin-berri](https://github.com/tin-berri) in [#​38587](https://github.com/BerriAI/litellm/pull/38587) - fix(router): reject complexity-router settings written outside complexity\_router\_config by [@​tin-berri](https://github.com/tin-berri) in [#​38570](https://github.com/BerriAI/litellm/pull/38570) - feat(ui): session-level cache observability in request logs by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38442](https://github.com/BerriAI/litellm/pull/38442) - fix(ui): link Virtual Keys hint through the migrated /ui route by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38596](https://github.com/BerriAI/litellm/pull/38596) - fix(anthropic): carry the effort tier only where the target declares reasoning\_effort by [@​tin-berri](https://github.com/tin-berri) in [#​38592](https://github.com/BerriAI/litellm/pull/38592) - fix(presidio): chunk oversized text before /analyze so large content blocks do not fail by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​38483](https://github.com/BerriAI/litellm/pull/38483) - fix(logging): stop stream-based log collectors classifying INFO logs as errors by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​38476](https://github.com/BerriAI/litellm/pull/38476) - feat(ui): dry-run an auto-router config against the backend before saving it by [@​tin-berri](https://github.com/tin-berri) in [#​38595](https://github.com/BerriAI/litellm/pull/38595) - fix(guardrails): add fail-open mode to CrowdStrike AIDR guardrail by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​38568](https://github.com/BerriAI/litellm/pull/38568) - fix(router): copy instead of mutating caller metadata when scrubbing fallback stamp keys by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​38586](https://github.com/BerriAI/litellm/pull/38586) - feat(proxy): opt-in enforce\_fallback\_model\_access authorizes router fallbacks against the calling key by [@​ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#​38572](https://github.com/BerriAI/litellm/pull/38572) - fix(langfuse): warn and drop invalid LANGFUSE\_TRACING\_ENVIRONMENT instead of failing requests by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​38582](https://github.com/BerriAI/litellm/pull/38582) - fix(tencent): route thinking through extra\_body in chat completions by [@​FelipeRodriguesGare](https://github.com/FelipeRodriguesGare) in [#​38100](https://github.com/BerriAI/litellm/pull/38100) - test-check-commits by [@​nickhac](https://github.com/nickhac) in [#​36344](https://github.com/BerriAI/litellm/pull/36344) - feat(proxy): dry-run a real request body on /auto\_router/test\_routing by [@​tin-berri](https://github.com/tin-berri) in [#​38590](https://github.com/BerriAI/litellm/pull/38590) - fix(shadow\_eval): refuse a judge model that also serves one of the arms it grades by [@​tin-berri](https://github.com/tin-berri) in [#​38589](https://github.com/BerriAI/litellm/pull/38589) - fix(anthropic): resolve /v1/messages effort tiers through the capability owner by [@​tin-berri](https://github.com/tin-berri) in [#​38492](https://github.com/BerriAI/litellm/pull/38492) - fix(router): fall over on raised mid-stream errors in /v1/messages streams by [@​mateo-berri](https://github.com/mateo-berri) in [#​38606](https://github.com/BerriAI/litellm/pull/38606) - feat(models): add daily Together AI model registry sync script and workflow by [@​mateo-berri](https://github.com/mateo-berri) in [#​38257](https://github.com/BerriAI/litellm/pull/38257) - feat(ui): the model and wire layer for operator-defined auto-router tier sets by [@​tin-berri](https://github.com/tin-berri) in [#​38602](https://github.com/BerriAI/litellm/pull/38602) - fix(moonshot, together\_ai): send the reasoning effort Kimi K3 accepts by [@​tin-berri](https://github.com/tin-berri) in [#​38611](https://github.com/BerriAI/litellm/pull/38611) - fix(ui): one-click theme toggle and matching Docs/Blog styling in the top bar by [@​ryan-crabbe-berri](https://github.com/ryan-crabbe-berri) in [#​38601](https://github.com/BerriAI/litellm/pull/38601) - feat(proxy): opt-in flags to require rpm/tpm on model and project create by [@​ansh-agrawal](https://github.com/ansh-agrawal) in [#​36514](https://github.com/BerriAI/litellm/pull/36514) - fix(exceptions): keep a refused connection an APIConnectionError by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38624](https://github.com/BerriAI/litellm/pull/38624) - chore(ci): promote internal staging to main by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38616](https://github.com/BerriAI/litellm/pull/38616) - fix(anthropic): drop and self-heal empty thinking blocks on /v1/messages by [@​tin-berri](https://github.com/tin-berri) in [#​38625](https://github.com/BerriAI/litellm/pull/38625) - fix(anthropic): handle per-level reasoning\_effort flags without supports\_reasoning by [@​tin-berri](https://github.com/tin-berri) in [#​38618](https://github.com/BerriAI/litellm/pull/38618) - fix(complexity\_router): route client housekeeping calls to the cheapest tier by [@​tin-berri](https://github.com/tin-berri) in [#​38598](https://github.com/BerriAI/litellm/pull/38598) - test: fix staging CI regressions from [#​38182](https://github.com/BerriAI/litellm/issues/38182), [#​38144](https://github.com/BerriAI/litellm/issues/38144), [#​38265](https://github.com/BerriAI/litellm/issues/38265), [#​37962](https://github.com/BerriAI/litellm/issues/37962), and [#​37969](https://github.com/BerriAI/litellm/issues/37969) by [@​mateo-berri](https://github.com/mateo-berri) in [#​38304](https://github.com/BerriAI/litellm/pull/38304) - feat(spend): report prompt caching savings as total and gateway-attributed by [@​tin-berri](https://github.com/tin-berri) in [#​38134](https://github.com/BerriAI/litellm/pull/38134) - fix(proxy): let llm\_api virtual keys read /model\_group/info by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38662](https://github.com/BerriAI/litellm/pull/38662) - feat(ui): edit the auto-router tier set with custom classifier-defined tiers by [@​tin-berri](https://github.com/tin-berri) in [#​38603](https://github.com/BerriAI/litellm/pull/38603) - fix(proxy): count tools, system, and Anthropic image and document blocks in the count\_tokens fallback (internal copy of [#​36671](https://github.com/BerriAI/litellm/issues/36671)) by [@​mateo-berri](https://github.com/mateo-berri) in [#​38657](https://github.com/BerriAI/litellm/pull/38657) - test: refresh the suites that drifted from langfuse and OpenAI's retired Assistants API by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38637](https://github.com/BerriAI/litellm/pull/38637) - test(e2e): unskip four tests whose blockers no longer hold by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38640](https://github.com/BerriAI/litellm/pull/38640) - feat(proxy): add paginated GET /public/v1/model\_hub by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38636](https://github.com/BerriAI/litellm/pull/38636) - refactor(ui): type search tool params from the generated schema by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38633](https://github.com/BerriAI/litellm/pull/38633) - feat(a2a): semantic search over the agent registry via GET /v1/agents?query and an agent\_search MCP tool by [@​mateo-berri](https://github.com/mateo-berri) in [#​38609](https://github.com/BerriAI/litellm/pull/38609) - fix(model\_prices): add bedrock\_mantle gpt-5.5/5.4 272K tiers, align sol with AWS invoice by [@​mateo-berri](https://github.com/mateo-berri) in [#​38615](https://github.com/BerriAI/litellm/pull/38615) - fix(ui): keep the usage filter visible when the caller's scope is empty by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38581](https://github.com/BerriAI/litellm/pull/38581) - fix(registry): add Gemini Omni 1.1 Flash, xAI grok-imagine image models, Mistral cache-read pricing, GLM 5.3 Flash + Kimi K2.7 Code entries by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38560](https://github.com/BerriAI/litellm/pull/38560) - fix(logging): preserve null end user in callbacks by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​38642](https://github.com/BerriAI/litellm/pull/38642) - test: close mutation-testing gaps in container, skills and openai-like config factories by [@​yuneng-berri](https://github.com/yuneng-berri) in [#​38677](https://github.com/BerriAI/litellm/pull/38677) - fix: enforce MCP toolsets attached to a team, org, or internal user by [@​yucheng-berri](https://github.com/yucheng-berri) in [#​38488](https://github.com/BerriAI/litellm/pull/38488) - fix(tests): drain the global logging worker in RAG aquery billing tests by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38653](https://github.com/BerriAI/litellm/pull/38653) - chore(techdebt): type new signatures and drop slop comments from the last 24h by [@​devin-ai-integration](https://github.com/devin-ai-integration)\[bot] in [#​38644](https://github.com/Be…
…oning gate Backports the Converse part of fbc6fb5 from main (PR #31884) together with the OpenAI GPT reasoning gate this line never had (PR #38279: 74e86d3, 9cc276a, 418012a): reasoning_effort maps to reasoning.effort for openai.gpt-<digit> models and Anthropic's thinking block is skipped for them. Without it a GPT-6 model fell through to Anthropic's thinking block and Bedrock rejected the first real turn after a Claude Code /model switch with 400 Unknown parameter: 'thinking'. #38279's cost-map JSON and cross-region test changes, the Nova 2 tool_choice registry keys, and the invoke json_mode forwarding stay on main
GPT-6 ships as a single variant on Bedrock — openai.gpt-6-astra, no sol/terra/luna split like gpt-5.6 — and is INFERENCE_PROFILE-only, so the bare model ID is rejected and the global. CRIS profile is mandatory.
dropReasoning stays true: measured against the dev account, the Converse path takes reasoning:{"effort":...} (46 -> 171 output tokens, low -> xhigh) but litellm v1.91.3 still maps reasoning_effort onto Anthropic's `thinking`, which Bedrock rejects with "Unknown parameter: 'thinking'". Same split as gpt-5.6, so the same two guards apply until BerriAI/litellm#38279 ships.
The max_budget bump to 2000 raises the per-key ceiling that /key/update enforces; it was already live on the gateway and only now lands in git.
TLDR
Problem this solves:
reasoning_effortthinking, Converse 400s with unknown_parameterHow it solves it:
additionalModelRequestFields.reasoning.effortfor GPT-5.xsupports_reasoningon the six bedrock_converse gpt-5.6 entriesUser Flow
Before: a developer calling a GPT-5.6 Bedrock Converse model with reasoning effort gets a hard 400 and no reasoning
"model": "gpt-5.6-sol-bedrock"and"reasoning_effort": "high"400withbedrock does not support parameters: ['reasoning_effort']drop_params: trueto get past the 400, the answer comes back but the model ran with no reasoning appliedAfter: the same request returns 200 and the model runs at the requested effort
"model": "gpt-5.6-sol-bedrock"and"reasoning_effort": "high"200with the assistant answerdrop_paramsworkaround is needed and the effort reaches BedrockRelevant issues
Related to #34105 (same root cause: the Converse reasoning-effort handler assumes any non gpt-oss / non Nova-2 model is Anthropic and discards the value). This PR fixes the GPT-5.x case; Qwen3 and other providers in that issue are out of scope here
Linear ticket
Resolves LIT-5984
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
uv run pytest tests/test_litellm/<your_test_file>.py -v. Leave the suites (make test-unit-*,make test-unit) to CI: it finishes in ~15 minutes where a laptop takes an hour or more@greptileaito re-request a review after pushing changes)Delays in PR merge?
If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).
Screenshots / Proof of Fix
Real Bedrock Converse calls against
us.openai.gpt-5.6-sol, no mocks, billed to a live AWS account. Both legs run the identical config and requests and differ only in the commit the proxy was booted from: Before at the merge base1ff615c335, After at the PR tip418012aac5. Each leg is one proxy with--num_workers 2(Before on port 18342, After on port 27519)Config (
qa_config.yaml):Proxy launched with
AWS_BEARER_TOKEN_BEDROCK=... LITELLM_MASTER_KEY=sk-qa5984 litellm --config qa_config.yaml --port <port> --num_workers 2Before (1ff615c)
/v1/chat/completions with reasoning_effort
{"error":{"message":"litellm.UnsupportedParamsError: bedrock does not support parameters: ['reasoning_effort'], for model=converse/us.openai.gpt-5.6-sol. To drop these, set `litellm.drop_params=True` ...","type":"None","param":null,"code":"400"}}/v1/responses with reasoning.effort
reasoning_effort/v1/messages with reasoning_effort
reasoning_effortAfter (418012a)
/v1/chat/completions with reasoning_effort
{"model":"gpt-5.6-sol-bedrock","object":"chat.completion","choices":[{"finish_reason":"stop","index":0,"message":{"content":"17 × 23 = 391.","role":"assistant"}}],"usage":{"completion_tokens":12,"prompt_tokens":22,"total_tokens":34}}/v1/responses with reasoning.effort
"status": "completed"and output text19 × 21 = 399./v1/messages with reasoning_effort
13 × 29 = 377.Notes:
drop_params: falseproves refusal, never silent dropadditionalModelRequestFields.reasoning.effortthinkingshape getsValidationException,reasoning.effortshape acceptedType
🐛 Bug Fix
Caveats (if any)
Low
reasoning_effortfor non-Anthropic/Nova2/GPT-OSS models (e.g. Qwen3 on Bedrock) #34105 still drop effortthinkingandoutput_configstay rejected for GPT-5.x, as before this PRus.openai.gpt-5.6-sol;terraandlunashare the same code pathChanges
_handle_reasoning_effort_parametergains a branch foropenai.gpt-5models that mapsreasoning_effortto{"reasoning": {"effort": ...}}underadditionalModelRequestFields. The sixbedrock_conversegpt-5.6 entries (us.andglobal.for sol, terra, luna) gainsupports_reasoning: trueas correct capability metadataget_supported_openai_paramsadvertises onlyreasoning_effortfor GPT-5.x (not the Anthropic-onlythinking/output_config), andmap_openai_paramsskips thethinkingmapping for these models. Together this closes an order-dependent leak where a request combiningthinkingwithreasoning_effortcould still serialize athinkingblock that Bedrock rejects, and it makes such a request fail fast with a clear client-side error instead. Parametrized regression tests cover the supported-param gate, the mapped shape, and thatthinkingnever survives regardless of parameter orderNote
Medium Risk
Touches shared Bedrock Converse parameter routing for reasoning; wrong model-id matching could affect non–GPT-5 models, but scope is narrow and covered by regression tests.
Overview
Fixes OpenAI GPT-5.x on Bedrock Converse so
reasoning_effortis honored instead of rejected or misrouted to Anthropicthinking(which Bedrock returns as an unknown parameter).Bedrock Converse mapping adds a GPT-5 branch in
_handle_reasoning_effort_parameterthat setsadditionalModelRequestFields.reasoningto{"effort": <value>}.get_supported_openai_paramsnow advertisesreasoning_effortfor these models, andmap_openai_paramsno longer applies thethinkingmapper when the model id containsopenai.gpt-5.Model metadata sets
supports_reasoning: trueon the sixbedrock_converseGPT-5.6 variants in the cost/context JSON files. ABedrockConverseGptReasoningEffortBlockTypedDict documents the effort shape.Tests assert the mapped request shape, that
thinking/output_configare not offered or forwarded (including when combined withreasoning_effort), and update cross-region profile expectations accordingly.Reviewed by Cursor Bugbot for commit 418012a. Bugbot is set up for automated code reviews on this repo. Configure here.
Final Attestation
The tests check the right things, including the edge cases, and regressions in the respective real-world customer use-cases are not possible after this PR
418012a passes /live-pr-risk