mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-10 16:22:17 +00:00
Removed unnecessary comments
This commit is contained in:
@@ -600,7 +600,6 @@ ollama_models = ["llama2"]
|
||||
|
||||
maritalk_models = ["maritalk"]
|
||||
|
||||
# Probably shouldn't hard code this, change later
|
||||
snowflake_models = [
|
||||
"snowflake/deepseek-r1",
|
||||
"snowflake/claude-3-5-sonnet",
|
||||
|
||||
@@ -577,7 +577,7 @@ def _get_openai_compatible_provider_info( # noqa: PLR0915
|
||||
or get_secret("SNOWFLAKE_API_BASE")
|
||||
or f"https://{get_secret('SNOWFLAKE_ACCOUNT_ID')}.snowflakecomputing.com/api/v2/cortex/inference:complete"
|
||||
) # type: ignore
|
||||
dynamic_api_key = api_key or get_secret("SNOWFLAKE_JWT") # Snowflake doesn't use API keys so this will have to change. Support of OAuth and JWT
|
||||
dynamic_api_key = api_key or get_secret("SNOWFLAKE_JWT")
|
||||
|
||||
if api_base is not None and not isinstance(api_base, str):
|
||||
raise Exception("api base needs to be a string. api_base={}".format(api_base))
|
||||
|
||||
Reference in New Issue
Block a user