From d404f55802e760b69afe8c0fe1ba125ef1576004 Mon Sep 17 00:00:00 2001 From: Yujong Lee Date: Sun, 27 Sep 2026 01:20:18 +0000 Subject: [PATCH] fix(messages): satisfy type discipline gate Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/rust_bridge/messages/route_host.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/rust_bridge/messages/route_host.py b/litellm/rust_bridge/messages/route_host.py index 3a5ea284147..6d8073b740c 100644 --- a/litellm/rust_bridge/messages/route_host.py +++ b/litellm/rust_bridge/messages/route_host.py @@ -57,7 +57,7 @@ def response( _add_headers_to_response(response_value, dict(httpx.Headers(list(headers)).items())) return cast( # cast-ok: AnthropicMessagesResponse is a TypedDict over the normalized native payload AnthropicMessagesResponse, - response_value, # mutable-ok: the public Messages response is a TypedDict the caller may annotate in place + response_value, )