From 54fb19d9eb875e12ae720ba11ea67633a4ad8276 Mon Sep 17 00:00:00 2001 From: Billy Bao Date: Tue, 18 Nov 2025 11:43:55 +0800 Subject: [PATCH] fix import --- rag/llm/cv_model.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rag/llm/cv_model.py b/rag/llm/cv_model.py index 06bc424ea..15c8943d8 100644 --- a/rag/llm/cv_model.py +++ b/rag/llm/cv_model.py @@ -33,8 +33,6 @@ from rag.nlp import is_english from rag.prompts.generator import vision_llm_describe_prompt from common.token_utils import num_tokens_from_string, total_token_count_from_response -from rag.llm.chat_model import LENGTH_NOTIFICATION_CN, LENGTH_NOTIFICATION_EN -from rag.nlp import is_chinese class Base(ABC): def __init__(self, **kwargs): # Configure retry parameters @@ -374,7 +372,7 @@ class Zhipu4V(GptV4): def chat_streamly(self, system, history, gen_conf, images=None, **kwargs): - from rag.llm.chat_model import LENGTH_NOTIFICATION_CN, LENGTH_NOTIFICATION_EN + from rag.llm.chat_model import LENGTH_NOTIFICATION_CN, LENGTH_NOTIFICATION_EN from rag.nlp import is_chinese if system and history and history[0].get("role") != "system":