diff --git a/api/app/core/memory/llm_tools/openai_client.py b/api/app/core/memory/llm_tools/openai_client.py index 0b75de3a..43c2b445 100644 --- a/api/app/core/memory/llm_tools/openai_client.py +++ b/api/app/core/memory/llm_tools/openai_client.py @@ -82,7 +82,6 @@ class OpenAIClient(LLMClient): LLMClientException: LLM 调用失败 """ try: - # 使用 Langfuse 回调(如果可用) template = """{messages}""" prompt = ChatPromptTemplate.from_template(template) chain = prompt | self.client