mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix - model hub supported_openai_params
This commit is contained in:
parent
85f8907e0d
commit
f6617c94e3
1 changed files with 2 additions and 0 deletions
|
@ -3326,6 +3326,8 @@ class Router:
|
||||||
supported_openai_params = litellm.get_supported_openai_params(
|
supported_openai_params = litellm.get_supported_openai_params(
|
||||||
model=model, custom_llm_provider=llm_provider
|
model=model, custom_llm_provider=llm_provider
|
||||||
)
|
)
|
||||||
|
if supported_openai_params is None:
|
||||||
|
supported_openai_params = []
|
||||||
model_info = ModelMapInfo(
|
model_info = ModelMapInfo(
|
||||||
max_tokens=None,
|
max_tokens=None,
|
||||||
max_input_tokens=None,
|
max_input_tokens=None,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue