remove unused code

This commit is contained in:
Abi Raja 2024-08-30 16:32:20 +02:00
parent 5d33dd6bf3
commit c55e5d7923
2 changed files with 0 additions and 9 deletions

View File

@ -22,14 +22,6 @@ class Llm(Enum):
CLAUDE_3_5_SONNET_2024_06_20 = "claude-3-5-sonnet-20240620"
def is_openai_model(model: Llm) -> bool:
return model in {
Llm.GPT_4_VISION,
Llm.GPT_4_TURBO_2024_04_09,
Llm.GPT_4O_2024_05_13,
}
# Will throw errors if you send a garbage string
def convert_frontend_str_to_llm(frontend_str: str) -> Llm:
if frontend_str == "gpt_4_vision":

View File

@ -16,7 +16,6 @@ from custom_types import InputMode
from llm import (
Llm,
convert_frontend_str_to_llm,
is_openai_model,
stream_claude_response,
stream_claude_response_native,
stream_openai_response,