mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-16 09:22:22 +00:00
fix(proxy): satisfy formatting for alias budget metadata
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
22e2e39628
commit
e87b51d5b5
1 changed files with 3 additions and 1 deletions
|
|
@ -2440,7 +2440,9 @@ async def add_litellm_data_to_request(
|
|||
)
|
||||
|
||||
if isinstance(_pre_alias_model, str) and data.get("model") != _pre_alias_model:
|
||||
data[_metadata_variable_name]["litellm_client_requested_model"] = _pre_alias_model # rebind-ok: metadata out-param
|
||||
data[_metadata_variable_name]["litellm_client_requested_model"] = ( # rebind-ok: metadata out-param
|
||||
_pre_alias_model
|
||||
)
|
||||
|
||||
verbose_proxy_logger.debug("[PROXY] returned data from litellm_pre_call_utils: %s", data)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue