mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
[CHORE] Removed old code
This commit is contained in:
parent
61ee71745a
commit
162ea295e9
1 changed files with 1 additions and 25 deletions
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue