mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-16 23:41:43 +00:00
style(model_info): format provider backfill call
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
812bbee0b3
commit
71744fb9d1
1 changed files with 1 additions and 3 deletions
|
|
@ -5822,9 +5822,7 @@ def _get_model_info_helper(
|
|||
_model_info = None
|
||||
|
||||
if _model_info is not None and key is not None and _model_info.get("mode", "chat") in _BACKFILL_MODES:
|
||||
fill_missing: Final = match_fill_missing_generalizations(
|
||||
key, _model_info.get("litellm_provider", "")
|
||||
)
|
||||
fill_missing: Final = match_fill_missing_generalizations(key, _model_info.get("litellm_provider", ""))
|
||||
if fill_missing is not None:
|
||||
_model_info = {
|
||||
**{k: v for k, v in fill_missing.items() if k not in _model_info},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue