mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
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:
parent
29d44131a9
commit
d404f55802
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue