mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
style: shorten cast-ok reason so ruff format passes
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
a8fafaf750
commit
c746e5720b
1 changed files with 1 additions and 1 deletions
|
|
@ -4256,7 +4256,7 @@ class Logging(LiteLLMLoggingBaseClass):
|
|||
)
|
||||
else:
|
||||
result = anthropic_message_to_model_response(
|
||||
cast(Mapping[str, object], result), # cast-ok: this handler receives heterogeneous provider results typed as Any upstream
|
||||
cast(Mapping[str, object], result), # cast-ok: handler result is typed Any upstream
|
||||
speed=self.optional_params.get("speed") if self.optional_params else None,
|
||||
)
|
||||
return result
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue