From 357cd08dad9421bc9573751c0f0d1d9973ec5d74 Mon Sep 17 00:00:00 2001 From: p38654902 Date: Thu, 31 Oct 2024 18:21:08 +0800 Subject: [PATCH] Update llm_web_code.py --- My_project/llm_web_code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/My_project/llm_web_code.py b/My_project/llm_web_code.py index 0db810e..386bfdc 100644 --- a/My_project/llm_web_code.py +++ b/My_project/llm_web_code.py @@ -25,7 +25,7 @@ def chat_with_bott(client, user_message, system_message="You are a code assistan role="user", # 角色为用户 query=user_message, # 用户的输入消息 api_name="/append" # 调用append API - ) + ) # 更新聊天记录,追加用户输入 chatbot_memory.append(("user", user_message))