From b461cfea6b78754d3c51c232463d84105a421afb Mon Sep 17 00:00:00 2001 From: Mini256 Date: Fri, 10 Jan 2025 15:01:19 +0800 Subject: [PATCH] refine --- backend/app/api/admin_routes/llm/routes.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/backend/app/api/admin_routes/llm/routes.py b/backend/app/api/admin_routes/llm/routes.py index e7c1c860..f9800376 100644 --- a/backend/app/api/admin_routes/llm/routes.py +++ b/backend/app/api/admin_routes/llm/routes.py @@ -9,8 +9,12 @@ from app.api.deps import CurrentSuperuserDep, SessionDep from app.exceptions import InternalServerError, LLMNotFound from app.models import AdminLLM, LLM, ChatEngine, KnowledgeBase -from app.rag.llms import get_llm, LLMProviderOption, llm_provider_options from app.repositories.llm import llm_repo +from app.rag.llms import ( + get_llm, + LLMProviderOption, + llm_provider_options, +) router = APIRouter() logger = logging.getLogger(__name__)