Skip to content

fix(rust-bridge): keep proxy /v1/messages calls on Rust when a cache or shared session is configured - #47811

Open
mateo-berri wants to merge 6 commits into
mainfrom
litellm_circleci_heal_rust_messages_routing
Open

mateo-berri wants to merge 6 commits into
mainfrom
litellm_circleci_heal_rust_messages_routing

Conversation

@mateo-berri

@mateo-berri mateo-berri commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Since the catalog routing refactors landed, a LiteLLM proxy with a response cache configured sends every /v1/messages call to the Python path even when Rust is turned on, and DeepSeek and Vertex AI Claude messages stopped reaching Rust at all. This PR puts those calls back on Rust, which is what turned the scheduled CircleCI integration-providers job red on main

Details

TLDR

Problem this solves:

  • integration-providers red on main in every scheduled run since 91444
  • Proxy /v1/messages calls with Rust enabled are served by Python
  • DeepSeek and Vertex AI Claude messages never opt in to Rust

How it solves it:

  • Messages no longer treats a configured response cache as Python-only
  • The proxy's shared aiohttp session no longer counts as a caller client
  • Messages Rust opt-in covers anthropic, deepseek and vertex_ai again

User Flow

Before: an admin runs the proxy with LITELLM_RUST=true and Redis caching, and /v1/messages never reaches Rust

  1. Admin sets cache: true with Redis in config.yaml and starts the proxy with LITELLM_RUST=true
  2. A client sends POST http://localhost:4000/v1/messages for an Anthropic, DeepSeek or Vertex AI Claude model
  3. The answer comes back 200 but from the Python path, so the Rust serving header is missing

After: the same request is served by Rust

  1. Same config and same LITELLM_RUST=true boot
  2. The same POST http://localhost:4000/v1/messages
  3. The answer comes back 200 from the Rust path, with the Rust serving header set

Affected release

Regression on main since #46714 and #46750, not yet in a release

CircleCI on main

Failing test ids this PR claims (non-stream cells):

  • test_rust_anthropic_safeguards_beta_wire (sdk, raw, deepseek, vertex, malformed, duplicated, null cells)
  • test_rust_anthropic_safeguards_beta_chaos (worker sigkill, proxy shutdown)
  • test_idle_upstream_keepalive_edges_wire, test_idle_upstream_keepalive_override_wire
  • test_idle_upstream_reconnect_rust_messages_wire, test_vertex_credentials_source_wire::test_rust_messages_route_loads_a_claude_key_file_and_names_unloadable_credentials

Culprit: 730db4d (#46714) and 0ccae7a (#46750), both merged 2026-10-20

Mechanism:

Also fixed here, e2e_ui_testing in the integration workflow on main. Last green at 01:12 UTC on 2026-10-21, red with the guardrail delete failures in every run from 03:12 UTC at 0e24bbb (job [2265974]([REDACTED SECRET]/gh/BerriAI/litellm/2265974)) through 08:12 UTC at 66c8f5b (job [2266188]([REDACTED SECRET]/gh/BerriAI/litellm/2266188))

  • Failing tests guardrails.spec.ts "Delete a guardrail", "Create a Presidio guardrail, see it in team settings, and delete it", and presidioUserStory.spec.ts "masks PII sent from the Playground and shows the run in Logs" (its fixture teardown deletes the guardrail)
  • Culprit 3985795 (#45893) moved guardrail delete onto DeleteResourceModal with requiredConfirmation, which keeps Delete disabled until the exact name is typed. That PR meant to add the typed-name step, but the three specs still click Delete straight away
  • The specs now type the guardrail name into the confirmation field before clicking Delete, so they also cover the new typed-name gate. Restoring the old spec makes "Delete a guardrail" fail again with element is not enabled

Deferred to a later run (still red on main, not claimed here):

  • Streamed Messages cells ([stream], -stream params of the files above). The router passes stream_timeout on proxy streams and Feature.TIMEOUT_VARIANTS keeps them on Python. Rust applies timeout as a deadline for the whole stream while Python treats stream_timeout as a per-read limit, so they move back only once Rust gets a per-read stream timeout

  • test_bedrock_converse_lookaround_regex_wire::test_a_base_model_in_the_request_body_only_ever_loosens, a schema diff unrelated to routing

  • Gemini sampling, long-decode, fragmented-stream and function-call cells, Bedrock runtime chat cell, integration-management

  • One-off cells on the PR pipeline that pass on main and in the runs around them, left to the deflake automation. test_config_overrides::test_cyberark_incremental_update_encrypts_reloads_on_restart_and_delete_clears failed once in integration-security job 2266368 and passed all 234 tests on rerun job 2266399. test_signoz_delivery::test_terminating_the_proxy_right_after_a_burst_flushes_every_span_before_exit failed once in extensions job 2266398. test_bedrock_batch_retrieve_reports_lifecycle_status_in_order failed once in providers job 2266374 and passed on rerun

  • test_anthropic_messages_pre_content_retry_wire dropped-attempt usage cells, which log ('failure', 0, 0) for the dropped attempt now and then. It failed once in providers job 2266397 and reproduces at the main merge base locally too (1 in 9 runs), so it predates this PR

  • The [stream] cells of test_peer_outage_mid_safeguards_burst_relays_each_verdict_once_and_recovers, which stay on Python with the other streamed Messages cells above

  • integration-extensions, where test_guardrail_effects::test_concurrent_disconnects_during_a_guardrail_outage_each_record_exactly_one_verdict fails on main (jobs 2266138, 2266158, 2266209) the same way it fails on this branch

Pre-Submission checklist

  • I have added meaningful tests
  • The handful of test files covering my change pass locally
  • My PR passes all required CI/CD checks
  • My PR's scope is as isolated as possible; it only solves 1 specific problem
  • Every automated review on my PR's latest commit has finished, and I have addressed or replied to each of its findings before requesting a maintainer review

Screenshots / Proof of Fix

QA ran at the tip 2b7c7fd (After) against 66c8f5b (Before, run from its own worktree with PYTHONPATH pinned to it), each a real proxy with --num_workers 2, LITELLM_RUST=true, Redis caching on, real Anthropic and DeepSeek calls, no mocks. An earlier round on 473e1a4 gave the same results. The tip 4ff9ee6 only adds the e2e spec change on top of 2b7c7fd, and the After leg rerun on 4ff9ee6 matched row for row (Rust header on both Messages models, same id on cache hits 2 and 3). The spec change itself is proven by e2e_ui_testing passing in the PR pipeline

Case Before 66c8f5b After 2b7c7fd
/v1/messages claude-haiku-5-5 x2 200, no x-litellm-rust 200, x-litellm-rust: true
/v1/messages deepseek-v4-flash x2 200, no x-litellm-rust 200, x-litellm-rust: true
Same /v1/messages body sent 3 times cache hit on calls 2 and 3, same id cache hit on calls 2 and 3, same id, served by Rust
/v1/messages stream Python Python (deferred)
/v1/chat/completions, /v1/responses claude-haiku-5-5 200 200

Headline case, config is cache: true with cache_params.type: redis plus the two models

$ curl -si localhost:4101/v1/messages -H 'Authorization: Bearer sk-qa-1234' -d '{"model":"claude-haiku-5-5","max_tokens":20,"messages":[{"role":"user","content":"say hi 1"}]}'
HTTP/1.1 200 OK
$ curl -si localhost:4101/v1/messages -H 'Authorization: Bearer sk-qa-1234' -d '{"model":"deepseek-v4-flash","max_tokens":20,"messages":[{"role":"user","content":"say hi 1"}]}'
HTTP/1.1 200 OK

$ curl -si localhost:4102/v1/messages -H 'Authorization: Bearer sk-qa-1234' -d '{"model":"claude-haiku-5-5","max_tokens":20,"messages":[{"role":"user","content":"say hi 1"}]}'
HTTP/1.1 200 OK
x-litellm-rust: true
$ curl -si localhost:4102/v1/messages -H 'Authorization: Bearer sk-qa-1234' -d '{"model":"deepseek-v4-flash","max_tokens":20,"messages":[{"role":"user","content":"say hi 1"}]}'
HTTP/1.1 200 OK
x-litellm-rust: true
Cache hits keep working on the Rust path
=== Before 66c8f5b1a9 ===
$ curl -si localhost:4101/v1/messages -H 'Authorization: Bearer sk-qa-1234' -d '{"model":"claude-haiku-5-5","max_tokens":20,"messages":[{"role":"user","content":"cache probe b16494"}]}'
HTTP/1.1 200 OK
id= msg_011CgF5f6v8PMAcgJW9Jba7J
(call 2) HTTP/1.1 200 OK
x-litellm-cache-key: 3f88410e61c7...
id= msg_011CgF5f6v8PMAcgJW9Jba7J
(call 3) HTTP/1.1 200 OK
x-litellm-cache-key: 3f88410e61c7...
id= msg_011CgF5f6v8PMAcgJW9Jba7J
=== After 473e1a442e ===
$ curl -si localhost:4102/v1/messages -H 'Authorization: Bearer sk-qa-1234' -d '{"model":"claude-haiku-5-5","max_tokens":20,"messages":[{"role":"user","content":"cache probe h16494"}]}'
HTTP/1.1 200 OK
x-litellm-rust: true
id= msg_011CgF5fAgqjZn61M15vM647
(call 2) HTTP/1.1 200 OK
x-litellm-cache-key: :inference-v...
x-litellm-rust: true
id= msg_011CgF5fAgqjZn61M15vM647
(call 3) HTTP/1.1 200 OK
x-litellm-cache-key: :inference-v...
x-litellm-rust: true
id= msg_011CgF5fAgqjZn61M15vM647
  • Cache key header format differs between Python and Rust paths, pre-existing
  • Streamed /v1/messages stays on Python on both legs, deferred above

Caveats (if any)

Medium

  • Streamed proxy Messages calls still go to Python, see Deferred

Type

🐛 Bug Fix

Link to Devin session: https://app.devin.ai/sessions/5d9b22d00ab943099f1c0384682fce7e
Open in Devin Desktop: https://app.devin.ai/desktop/session/5d9b22d00ab943099f1c0384682fce7e?variant=devin
Requested by: @mateo-berri


Note

Medium Risk
Changes core Rust vs Python routing for the messages API on cached proxy traffic and additional providers; behavior shift is intentional but affects production request paths.

Overview
Fixes a regression where proxy /v1/messages traffic with Rust enabled was incorrectly routed to Python when a response cache or the proxy’s shared_session was in play, and where DeepSeek and Vertex AI messages no longer opted into the Rust path.

Routing: Feature.RESPONSE_CACHE is dropped from messages Python-only feature detection so a configured cache does not force the Python handler (Rust already participates in cache configuration). caller_client now keys only on an explicit caller client, not shared_session. The messages RUST_OPT_IN rule again includes deepseek and vertex_ai alongside anthropic.

Tests: Unit/dispatch tests cover cache + shared session staying on native; guardrail E2E deletes type the guardrail name into the delete confirmation field before confirming.

Reviewed by Cursor Bugbot for commit 4ff9ee6. Bugbot is set up for automated code reviews on this repo. Configure here.

…or shared session is configured

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@mateo-berri

Copy link
Copy Markdown
Contributor Author

bugbot run

@mateo-berri

Copy link
Copy Markdown
Contributor Author

@litereview code-review

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

@codecov

codecov Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@codspeed

codspeed Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

1 warning

⚠️ 2 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

✅ 35 untouched benchmarks


Comparing litellm_circleci_heal_rust_messages_routing (4ff9ee6) with main (a31c523)

Open in CodSpeed

@litereview

litereview Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

⚠️ code-review

5/5 · Ready for human review

Scope: full · Full PR review.

Completed · Some checks not run.

No correctness findings.

The PR removes RESPONSE_CACHE from the Messages Python-only features, stops treating shared_session as a caller-owned client, and puts deepseek and vertex_ai back in the Messages Rust opt-in rule. I traced each change from the public anthropic_messages entrypoints through PublicDispatch, catalog.RULES and the native Messages host, and found no reachable regression. Rust only takes these calls when LITELLM_RUST is set. The proxy also sends shared_session to chat and responses, but those routes stay Python-only because their catch-all rules still end in PYTHON_ONLY. Non-Claude Vertex models resolve to Target.CHAT_COMPLETIONS, so the earlier PYTHON_ONLY targets rule keeps them on Python.

Checks and execution details
  • Passed · Real testing evidence (required): Not applicable: no LLM translation changes in the scoped paths. The PR changes litellm/messages/dispatch.py, litellm/rust_bridge/catalog.py, litellm/rust_bridge/detectors.py, tests and Playwright specs. None of these files is under litellm/llms/** or litellm/litellm_core_utils/prompt_templates/**. The changes affect only route selection, not request or response translation.
  • Passed · Compatibility requirements (required): No supported behavior breaks. Defaults stay the same: Messages Rust is still RUST_OPT_IN, so a deployment without LITELLM_RUST still runs on Python. With the opt-in set, Anthropic, DeepSeek and Vertex Claude /v1/messages calls that have litellm.cache or shared_session set now go to Rust. Rust falls back to Python before execution starts. This restores the routing that existed before refactor(rust-bridge): detect Python-only features in the catalog instead of Rust declines #46714 and refactor(rust-bridge): decide native routing in the catalog, drop the bypass predicates #46750, which the PR says were never released. Chat and Responses still match unconditional PYTHON_ONLY rules, so the caller_client change cannot move them. No breaking marker is required.
  • Passed · Changed behavior and result consistency (required): Standards checked: litellm/rust_bridge/AGENTS.md (Python-only exclusions must come before Rust rules, and RULES is checked by review), host/AGENTS.md, python-bridge/src/cache/AGENTS.md and tests/test_litellm_rust/AGENTS.md.

Paths traced:

  • Cache: detectors.response_cache is gone from Messages _FEATURES. The native host calls cache::configure(..., "anthropic_messages"), which picks a disabled, native-v2 or Python-delegated backend and honors caching=False, supported_call_types, should_use_cache and the no-cache/no-store controls (selection.rs).
  • shared_session: only the chat, messages and responses dispatches read detectors.COMMON, and only Messages has a Rust rule.
  • Providers: Rust messages_provider serves Deepseek and VertexAi only when the model name contains claude. This matches Python get_provider_anthropic_messages_config. Non-Claude Vertex models resolve to Target.CHAT_COMPLETIONS and match the earlier PYTHON_ONLY rule.
  • Streams with stream_timeout still trigger timeout_variants, because _native_kwargs keeps that key.

Tests: the new test test_proxy_cache_and_shared_session_keep_messages_native uses the real MESSAGES_PYTHON_FEATURES with litellm.cache and shared_session set, and asserts that the native result is returned.

Local run: pytest tests/test_litellm_rust/messages/test_dispatch.py tests/test_litellm_rust/responses/test_dispatch.py tests/unit/rust_bridge/test_detectors.py tests/test_litellm_rust/cache/test_python_cache.py gave 320 passed.

UI specs: the added getByPlaceholder(guardrailName).fill(...) lines match the requiredConfirmation input in GuardrailDeleteModal / DeleteResourceModal.

  • Passed · Targeted Rust bridge and cache pytest (optional): Ran .venv/bin/python -m pytest -q tests/test_litellm_rust/messages/test_dispatch.py tests/test_litellm_rust/responses/test_dispatch.py tests/unit/rust_bridge/test_detectors.py tests/test_litellm_rust/cache/test_python_cache.py with the compiled _native extension: 320 passed, 16 warnings.
  • Not run · CircleCI integration-providers on PR branch (optional): I did not open the linked CircleCI pipeline 91466 and did not rerun the live-provider integration job, because it needs provider credentials. The routing change is covered by the inspected code and the local tests above.

View review · Reviewed 4ff9ee625e1e

…so streams stay on Rust

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@mateo-berri

Copy link
Copy Markdown
Contributor Author

@litereview code-review

@devin-ai-integration devin-ai-integration Bot changed the title fix(rust-bridge): keep proxy /v1/messages calls on Rust when a cache or shared session is configured fix(rust-bridge): keep proxy /v1/messages calls on Rust when a cache, shared session or stream_timeout is set Oct 21, 2026
Comment thread litellm/messages/dispatch.py Outdated
if fields.get("stream") is not True or stream_timeout is None:
return kwargs
return {**kwargs, "timeout": stream_timeout}
return {**{key: value for key, value in kwargs.items() if key != "stream_timeout"}, "timeout": stream_timeout}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

High · Streamed /v1/messages calls are killed once total stream time exceeds stream_timeout

  1. An admin enables LITELLM_RUST=true and sets a deployment stream_timeout (for example 60s). The router forwards stream_timeout on every streamed anthropic_messages call through _STREAM_TIMEOUT_AWARE_GENERIC_HANDLERS.
  2. A client sends a streamed POST to /v1/messages for an Anthropic model, and generation takes longer than 60s.
  3. _native_kwargs now removes stream_timeout from the kwargs it gives the detectors and moves its value into timeout. timeout_variants no longer fires, so the call goes to Rust instead of Python. The PR description says streamed cells are deferred and stay on Python, but this change moves them.
  4. Rust Messages passes timeout to reqwest RequestBuilder::timeout, which limits the whole request including the body (litellm-rust/crates/http/src/outbound.rs). Python treats stream_timeout as a per-read limit on a live stream (CompletionTimeout.for_stream, StreamKind.LIVE). A healthy stream that keeps sending chunks still fails with APIConnectionError: error decoding response body once its total time passes stream_timeout.

The smallest fix is to revert the _native_kwargs change so streams with stream_timeout stay on Python, as the PR description promises. Streams can move to Rust once Rust supports a per-read stream timeout.

Evidence

Local repro against a stub SSE upstream that sends 12 events 0.4s apart (about 5s total). The call was litellm.anthropic_messages(..., stream=True, timeout=30.0, stream_timeout=1.5) with LITELLM_RUST=true.

Base _native_kwargs monkeypatched in: OK chunks 11 5.87 &lt;AnthropicMessagesStreamingResponse>. The call stayed on Python and finished.

PR head _native_kwargs: ERR APIConnectionError litellm.APIConnectionError: upstream network error: error decoding response body. The call went to Rust and was cut off by the 1.5s total deadline.

Same head without stream_timeout: OK chunks 13 6.18 &lt;litellm.rust_bridge.execution.AsyncStream>. This confirms Rust serves the stream fine without the deadline.

Routing check: old kwargs give ['timeout_variants'] Rollout.PYTHON_ONLY. New kwargs give [] Rollout.RUST_OPT_IN.

send() in inference-messages/src/handler.rs -> OutboundRequest::send -> builder.timeout(timeout). reqwest applies this as a total deadline that covers reading the response body.

The PR changes test_native_streams_are_bounded_by_stream_timeout to assert resolved["timeout"] == 0.5. That locks in the total-deadline behavior and does not check per-read semantics.

Latest summary by code-review · View this review · Reviewed 487242006ace

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Agreed, Rust applies timeout to the whole stream. Reverted in 976f7ca, streams with stream_timeout stay on Python until Rust gets a per-read limit

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Finding withdrawn

Thanks for the revert. The current code fixes the issue I reported.

  1. At head 976f7ca280, the PR no longer changes _native_kwargs in litellm/messages/dispatch.py. The diff for that file now removes only the RESPONSE_CACHE detector.
  2. _native_kwargs copies stream_timeout into timeout but leaves the stream_timeout key in place.
  3. For a streamed call, that key triggers detectors.timeout_variants (streaming(request) and present(request, "stream_timeout")), which routes the call to Python.
  4. Python then applies stream_timeout as a per-read limit, so Rust's total-request reqwest deadline no longer cuts off healthy long streams.
Evidence

Current _native_kwargs: return {**kwargs, "timeout": stream_timeout}, which keeps the stream_timeout key.

Local run at head: _native_kwargs({'stream': True}, {'stream': True, 'timeout': 30.0, 'stream_timeout': 1.5}) -> {'stream': True, 'timeout': 1.5, 'stream_timeout': 1.5}; detectors.timeout_variants(...) -> True.

litellm/rust_bridge/detectors.py:53-58: timeout_variants fires on streaming(request) and present(request, "stream_timeout").

The PR diff no longer modifies test_native_streams_are_bounded_by_stream_timeout.

pytest tests/test_litellm_rust/messages/test_dispatch.py -k "stream_timeout or TIMEOUT or proxy_cache": 4 passed.

GitHub does not allow this App to resolve this thread. A repository maintainer must do it manually.

Reviewed 976f7ca28022 · View follow-up

…timeout so streams stay on Rust"

This reverts commit 4872420.
@mateo-berri

Copy link
Copy Markdown
Contributor Author

@litereview code-review

@devin-ai-integration devin-ai-integration Bot changed the title fix(rust-bridge): keep proxy /v1/messages calls on Rust when a cache, shared session or stream_timeout is set fix(rust-bridge): keep proxy /v1/messages calls on Rust when a cache or shared session is configured Oct 21, 2026
@mateo-berri

Copy link
Copy Markdown
Contributor Author

@litereview code-review

@mateo-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

@greptile-apps

greptile-apps Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The reviewed changes appear safe to merge

Summary

Keeps cached Messages calls on Rust, ignores the proxy’s shared session when checking for caller-owned clients, and restores DeepSeek and Vertex AI eligibility

The latest changes update three browser tests to type the guardrail name before deletion. Those names match the modal’s confirmation field. No new actionable issues were found

The earlier unnumbered finding is fixed. test_catalog.py now passes test-owned rules

  • Rust can serve eligible Messages calls with proxy caching and shared sessions.
  • Guardrail browser tests enter the name before deleting.

Reviews (4) · Last reviewed commit: "test(e2e): type the guardrail name befor..." · Reviewed by Greptile

Comment thread tests/unit/rust_bridge/test_catalog.py Resolved
…lout rules

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@mateo-berri

Copy link
Copy Markdown
Contributor Author

@litereview code-review

@mateo-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

@mateo-berri

Copy link
Copy Markdown
Contributor Author

@litereview code-review

@mateo-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

@mateo-berri

Copy link
Copy Markdown
Contributor Author

bugbot run

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

…l UI specs

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@mateo-berri

Copy link
Copy Markdown
Contributor Author

@litereview code-review

@mateo-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

@mateo-berri

Copy link
Copy Markdown
Contributor Author

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ 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 4ff9ee6. Configure here.

@mateo-berri

Copy link
Copy Markdown
Contributor Author

@litellm-stampbot

@kerry-berri

kerry-berri commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

litellm-stampbot: risk high

Not approved at 4ff9ee6. risk is high, a human reviewer is needed.

Rules (stampbot/risk_rules.yml):

  • low: no rule flagged it

Cursor Bugbot: Medium Risk at 4ff9ee6. Changes core Rust vs Python routing for the messages API on cached proxy traffic and additional providers; behavior shift is intentional but affects production request paths.
Bugbot Low is low, Medium and High are high. The judge model was not called.

Pushes do not re-run this check. Comment @litellm-stampbot again to re-check the new head.

@kerry-berri kerry-berri added the risk:high Sensitive, broad, or high-risk change label Oct 21, 2026
@mateo-berri
mateo-berri enabled auto-merge (squash) October 21, 2026 13:20

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:high Sensitive, broad, or high-risk change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants