From d3ab7b3dc7b8f1ba89187842c260ed744453b5db Mon Sep 17 00:00:00 2001 From: Billy Bao Date: Fri, 12 Dec 2025 16:46:10 +0800 Subject: [PATCH] remove no need class --- rag/llm/chat_model.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/rag/llm/chat_model.py b/rag/llm/chat_model.py index a900ccb8d..214cd4604 100644 --- a/rag/llm/chat_model.py +++ b/rag/llm/chat_model.py @@ -487,15 +487,6 @@ class Base(ABC): assert False, "Shouldn't be here." -# class GptTurbo(Base): -# _FACTORY_NAME = "OpenAI" - -# def __init__(self, key, model_name="gpt-3.5-turbo", base_url="https://api.openai.com/v1", **kwargs): -# if not base_url: -# base_url = "https://api.openai.com/v1" -# super().__init__(key, model_name, base_url, **kwargs) - - class XinferenceChat(Base): _FACTORY_NAME = "Xinference"