【change】 Restore chat mode 1

This commit is contained in:
lanceyq
2026-03-23 17:39:17 +08:00
parent 48e2e613bb
commit f86448f4bf

View File

@@ -82,7 +82,6 @@ class OpenAIClient(LLMClient):
LLMClientException: LLM 调用失败
"""
try:
# 使用 Langfuse 回调(如果可用)
template = """{messages}"""
prompt = ChatPromptTemplate.from_template(template)
chain = prompt | self.client