Removed unnecessary comments

This commit is contained in:
Sunny Wan
2025-03-03 18:18:24 -05:00
parent 4d61ac5f13
commit bdd03405fe
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -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))