feat:一些小改动
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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......(不要包含中括号)"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user