fix(messages): satisfy type discipline gate

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Yujong Lee 2026-09-27 01:20:18 +00:00
parent 29d44131a9
commit d404f55802

View file

@ -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,
)