New Planner tool to help you break down complex ideas, problems, and projects into multiple manageable steps. This is a self-prompt generation tool whose output can then be fed into another tool and model as required

This commit is contained in:
Fahad
2025-06-17 20:49:53 +04:00
parent 3667ed3a43
commit a509730dca
14 changed files with 1940 additions and 37 deletions

View File

@@ -54,6 +54,7 @@ from tools import (
ConsensusTool,
DebugIssueTool,
ListModelsTool,
PlannerTool,
Precommit,
RefactorTool,
TestGenerationTool,
@@ -161,6 +162,7 @@ TOOLS = {
"chat": ChatTool(), # Interactive development chat and brainstorming
"consensus": ConsensusTool(), # Multi-model consensus for diverse perspectives on technical proposals
"listmodels": ListModelsTool(), # List all available AI models by provider
"planner": PlannerTool(), # A task or problem to plan out as several smaller steps
"precommit": Precommit(), # Pre-commit validation of git changes
"testgen": TestGenerationTool(), # Comprehensive test generation with edge case coverage
"refactor": RefactorTool(), # Intelligent code refactoring suggestions with precise line references
@@ -214,6 +216,11 @@ PROMPT_TEMPLATES = {
"description": "Trace code execution paths",
"template": "Generate tracer analysis with {model}",
},
"planner": {
"name": "planner",
"description": "Break down complex ideas, problems, or projects into multiple manageable steps",
"template": "Create a detailed plan with {model}",
},
"listmodels": {
"name": "listmodels",
"description": "List available AI models",