【change】 Restore chat mode 1
This commit is contained in:
@@ -82,7 +82,6 @@ class OpenAIClient(LLMClient):
|
|||||||
LLMClientException: LLM 调用失败
|
LLMClientException: LLM 调用失败
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
# 使用 Langfuse 回调(如果可用)
|
|
||||||
template = """{messages}"""
|
template = """{messages}"""
|
||||||
prompt = ChatPromptTemplate.from_template(template)
|
prompt = ChatPromptTemplate.from_template(template)
|
||||||
chain = prompt | self.client
|
chain = prompt | self.client
|
||||||
|
|||||||
Reference in New Issue
Block a user