fix: Silence model not found log
This commit is contained in:
parent
39f170ec5b
commit
8c38d8a146
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ def get_model_max_completion_tokens(model_name: str):
|
||||||
max_completion_tokens = litellm.model_cost[model_name]["max_tokens"]
|
max_completion_tokens = litellm.model_cost[model_name]["max_tokens"]
|
||||||
logger.debug(f"Max input tokens for {model_name}: {max_completion_tokens}")
|
logger.debug(f"Max input tokens for {model_name}: {max_completion_tokens}")
|
||||||
else:
|
else:
|
||||||
logger.info("Model not found in LiteLLM's model_cost.")
|
logger.debug("Model not found in LiteLLM's model_cost.")
|
||||||
|
|
||||||
return max_completion_tokens
|
return max_completion_tokens
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue