From 8bb0cf02ad2340d3de9631f88ef6b627ab1957c6 Mon Sep 17 00:00:00 2001 From: Huang <32005838+openrz@users.noreply.github.com> Date: Fri, 21 Mar 2025 21:08:50 +0800 Subject: [PATCH] =?UTF-8?q?update:=E9=85=8D=E7=BD=AE=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E5=B0=8F=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/xiaozhi-server/core/providers/llm/AliBL/AliBL.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/xiaozhi-server/core/providers/llm/AliBL/AliBL.py b/main/xiaozhi-server/core/providers/llm/AliBL/AliBL.py index 074d8f8d..ec0fb939 100644 --- a/main/xiaozhi-server/core/providers/llm/AliBL/AliBL.py +++ b/main/xiaozhi-server/core/providers/llm/AliBL/AliBL.py @@ -12,7 +12,7 @@ class LLMProvider(LLMProviderBase): self.app_id = config["app_id"] self.base_url = config.get("base_url") self.is_No_prompt = config.get("is_No_prompt") - self.memory_id = config.get("Ali_memory_id") + self.memory_id = config.get("ali_memory_id") def response(self, session_id, dialogue): try: @@ -49,4 +49,4 @@ class LLMProvider(LLMProviderBase): except Exception as e: logger.bind(tag=TAG).error(f"【阿里百练API服务】响应异常: {e}") - yield "【LLM服务响应异常】" \ No newline at end of file + yield "【LLM服务响应异常】"