mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
fix: resolve linting, typing, and formatting for model mismatch logs
This commit is contained in:
parent
34fa152a61
commit
db4c984cd6
1 changed files with 3 additions and 1 deletions
|
|
@ -5836,7 +5836,9 @@ def get_standard_logging_object_payload( # noqa: PLR0915
|
|||
if logging_obj is not None:
|
||||
# Use typing.cast to bypass strict union mismatch errors down the line
|
||||
safe_response_obj = cast(Any, init_response_obj)
|
||||
transparency_data = logging_obj._calculate_model_transparency(response_obj=safe_response_obj)
|
||||
transparency_data = logging_obj._calculate_model_transparency(
|
||||
response_obj=safe_response_obj
|
||||
)
|
||||
|
||||
payload["requested_model"] = transparency_data.get("requested_model", "")
|
||||
payload["resolved_model"] = transparency_data.get("resolved_model", "")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue