update:配置字段统一小写

This commit is contained in:
Huang
2025-03-21 21:08:50 +08:00
committed by GitHub
parent 06cbffdea4
commit 8bb0cf02ad
@@ -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服务响应异常】"