feat:一些小改动

pull/1273/head
SengokuCola 2025-09-30 15:41:13 +08:00
parent b2eec7d3b1
commit 9781b5f09c
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ class DeepThinkTool(BaseTool):
name = "deep_think" name = "deep_think"
description = "深度思考,对某个问题进行全面且深入的思考,当面临复杂环境或重要问题时,使用此获得更好的解决方案" description = "深度思考,对某个问题进行全面且深入的思考,当面临复杂环境或重要问题时,使用此获得更好的解决方案"
parameters = [ parameters = [
("question", ToolParamType.STRING, "需要思考的问题,越具体越好", True, None), ("question", ToolParamType.STRING, "需要思考的问题,越具体越好(从上下文中总结)", True, None),
] ]
available_for_llm = True available_for_llm = True

View File

@ -119,7 +119,7 @@ class MemoryChest:
"[概念] 的方法有 [方法1]、[方法2]", "[概念] 的方法有 [方法1]、[方法2]",
] ]
selected_count = random.randint(5, len(format_candidates)) selected_count = random.randint(3, 6)
selected_lines = random.sample(format_candidates, selected_count) selected_lines = random.sample(format_candidates, selected_count)
format_section = "\n".join(selected_lines) + "\n......(不要包含中括号)" format_section = "\n".join(selected_lines) + "\n......(不要包含中括号)"