Make thinking tools optional (disabled by default)

This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2026-02-17 14:52:45 +01:00
1 parent f117196989
commit 547a938832
1 file changed
+3 -3
+3 -3
View File
@@ -53,7 +53,7 @@ class OnboardingTool(Tool):
return self.prompt_factory.create_onboarding_prompt(system=system)
class ThinkAboutCollectedInformationTool(Tool):
class ThinkAboutCollectedInformationTool(Tool, ToolMarkerOptional):
"""
Thinking tool for pondering the completeness of collected information.
"""
@@ -67,7 +67,7 @@ class ThinkAboutCollectedInformationTool(Tool):
return self.prompt_factory.create_think_about_collected_information()
class ThinkAboutTaskAdherenceTool(Tool):
class ThinkAboutTaskAdherenceTool(Tool, ToolMarkerOptional):
"""
Thinking tool for determining whether the agent is still on track with the current task.
"""
@@ -83,7 +83,7 @@ class ThinkAboutTaskAdherenceTool(Tool):
return self.prompt_factory.create_think_about_task_adherence()
class ThinkAboutWhetherYouAreDoneTool(Tool):
class ThinkAboutWhetherYouAreDoneTool(Tool, ToolMarkerOptional):
"""
Thinking tool for determining whether the task is truly completed.
"""