Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

[CHORE] Removed old code

Sunny Wan162ea295e94d
diff --git a/litellm/llms/snowflake/completion/transformation.py b/litellm/llms/snowflake/completion/transformation.py
index 1208ce35862..79b25925e78 100644
--- a/litellm/llms/snowflake/completion/transformation.py
+++ b/litellm/llms/snowflake/completion/transformation.py
@@ -83,28 +83,4 @@ class SnowflakeConfig(OpenAILikeChatConfig):
for param, value in non_default_params.items():
if param in supported_openai_params:
optional_params[param] = value
- return optional_params
-
- # def _transform_messages(
- # self,
- # model: str,
- # messages: List[AllMessageValues],
- # optional_params: dict,
- # litellm_params: dict,
- # headers: dict,
- # ) -> dict:
- # config = litellm.SnowflakeConfig.get_config()
- # for k, v in config.items():
- # if (
- # k not in optional_params
- # ):
- # optional_params[k] = v
-
- # text = " ".join(convert_content_list_to_str(message) for message in messages)
-
- # data = {
- # "text": text,
- # **optional_params,
- # }
-
- # return data
\ No newline at end of file
+ return optional_params
\ No newline at end of file