mirror of https://github.com/Mai-with-u/MaiBot.git
移除重复的规划器日志输出 | Remove duplicate planner log output
此处规划器日志不受判断影响影响,始终向控制台输出占据大量空间的规划器原始提示词。
Here, the planner log is not affected by the judgment, and the planner's original prompt words occupying a lot of space are always output to the console.
<!-- 提交前必读 -->
- ✅ 接受:与main直接相关的Bug修复:提交到dev分支
- 新增功能类pr需要经过issue提前讨论,否则不会被合并
# 请填写以下内容
(删除掉中括号内的空格,并替换为**小写的x**)
1. - [x] `main` 分支 **禁止修改**,请确认本次提交的分支 **不是 `main` 分支**
2. - [x] 我确认我阅读了贡献指南
3. - [x] 本次更新类型为:BUG修复
- [ ] 本次更新类型为:功能新增
4. - [x] 本次更新是否经过测试
5. 请填写破坏性更新的具体内容(如有):
6. 请简要说明本次更新的内容和目的:
此处规划器日志不受判断影响影响,始终向控制台输出占据大量空间的规划器原始提示词。
Here, the planner log is not affected by the judgment, and the planner's original prompt words occupying a lot of space are always output to the console.
pull/1265/head
parent
a510ddd588
commit
b1e5f166e1
|
|
@ -451,9 +451,6 @@ class ActionPlanner:
|
|||
# 调用LLM
|
||||
llm_content, (reasoning_content, _, _) = await self.planner_llm.generate_response_async(prompt=prompt)
|
||||
|
||||
logger.info(f"{self.log_prefix}规划器原始提示词: {prompt}")
|
||||
logger.info(f"{self.log_prefix}规划器原始响应: {llm_content}")
|
||||
|
||||
if global_config.debug.show_prompt:
|
||||
logger.info(f"{self.log_prefix}规划器原始提示词: {prompt}")
|
||||
logger.info(f"{self.log_prefix}规划器原始响应: {llm_content}")
|
||||
|
|
|
|||
Loading…
Reference in New Issue