Merge pull request #1 from kmheckel/minor_edit_branch

changed error message
This commit is contained in:
Kade Heckel 2024-05-11 18:06:13 +01:00 committed by GitHub
commit a4920200b0
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() raise Exception()
except: except:
raise Exception( 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"
) )