changed error message

This commit is contained in:
Kade Heckel 2024-05-11 18:05:10 +01:00 committed by GitHub
parent 54c57450ab
commit 68b3b6f469
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6620,7 +6620,7 @@ def get_max_tokens(model: str):
raise Exception()
except:
raise Exception(
f"Model {model} from provider {custom_llm_provider} isn't mapped yet. Add it here - https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json"
f"Model {model} isn't mapped yet. Add it here - https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json"
)