mirror of https://github.com/Mai-with-u/MaiBot.git
feat:一些小改动
parent
b2eec7d3b1
commit
9781b5f09c
|
|
@ -22,7 +22,7 @@ class DeepThinkTool(BaseTool):
|
|||
name = "deep_think"
|
||||
description = "深度思考,对某个问题进行全面且深入的思考,当面临复杂环境或重要问题时,使用此获得更好的解决方案"
|
||||
parameters = [
|
||||
("question", ToolParamType.STRING, "需要思考的问题,越具体越好", True, None),
|
||||
("question", ToolParamType.STRING, "需要思考的问题,越具体越好(从上下文中总结)", True, None),
|
||||
]
|
||||
|
||||
available_for_llm = True
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ class MemoryChest:
|
|||
"[概念] 的方法有 [方法1]、[方法2]",
|
||||
]
|
||||
|
||||
selected_count = random.randint(5, len(format_candidates))
|
||||
selected_count = random.randint(3, 6)
|
||||
selected_lines = random.sample(format_candidates, selected_count)
|
||||
format_section = "\n".join(selected_lines) + "\n......(不要包含中括号)"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue