[CHORE] Removed old code

This commit is contained in:
Sunny Wan 2025-03-03 01:45:13 -05:00
parent 61ee71745a
commit 162ea295e9

View file

@ -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
return optional_params