fix:修复兴趣集未清空,模型失败导致planer失败,绘图插件配置文件问题
This commit is contained in:
@@ -185,7 +185,7 @@ class SelfProcessor(BaseProcessor):
|
||||
if content == "None":
|
||||
content = ""
|
||||
# 记录初步思考结果
|
||||
logger.debug(f"{self.log_prefix} 自我识别prompt: \n{prompt}\n")
|
||||
# logger.debug(f"{self.log_prefix} 自我识别prompt: \n{prompt}\n")
|
||||
logger.info(f"{self.log_prefix} 自我认知: {content}")
|
||||
|
||||
return content
|
||||
|
||||
@@ -127,7 +127,7 @@ class WorkingMemoryProcessor(BaseProcessor):
|
||||
# 调用LLM处理记忆
|
||||
content = ""
|
||||
try:
|
||||
logger.debug(f"{self.log_prefix} 处理工作记忆的prompt: {prompt}")
|
||||
# logger.debug(f"{self.log_prefix} 处理工作记忆的prompt: {prompt}")
|
||||
|
||||
content, _ = await self.llm_model.generate_response_async(prompt=prompt)
|
||||
if not content:
|
||||
|
||||
Reference in New Issue
Block a user