mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
update:配置字段统一小写
This commit is contained in:
parent
06cbffdea4
commit
8bb0cf02ad
1 changed files with 2 additions and 2 deletions
|
|
@ -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服务响应异常】"
|
||||
yield "【LLM服务响应异常】"
|
||||
|
|
|
|||
Loading…
Reference in a new issue