|
9 | 9 | "Install it with: pip install codetide[agents-ui]" |
10 | 10 | ) from e |
11 | 11 |
|
12 | | -from codetide.agents.tide.prompts import CMD_CODE_REVIEW_PROMPT, CMD_COMMIT_PROMPT, CMD_TRIGGER_PLANNING_STEPS, CMD_WRITE_TESTS_PROMPT |
| 12 | +from codetide.agents.tide.prompts import CMD_BRAINSTORM_PROMPT, CMD_CODE_REVIEW_PROMPT, CMD_COMMIT_PROMPT, CMD_TRIGGER_PLANNING_STEPS, CMD_WRITE_TESTS_PROMPT |
13 | 13 | from codetide.agents.tide.defaults import DEFAULT_AGENT_TIDE_LLM_CONFIG_PATH |
14 | 14 | from codetide.agents.tide.ui.defaults import PLACEHOLDER_LLM_CONFIG |
15 | 15 | from codetide.agents.tide.agent import AgentTide |
@@ -42,15 +42,17 @@ def __init__(self, project_path: Path = Path("./"), history :Optional[list]=None |
42 | 42 | "plan": CMD_TRIGGER_PLANNING_STEPS, |
43 | 43 | "review": CMD_CODE_REVIEW_PROMPT, |
44 | 44 | "test": CMD_WRITE_TESTS_PROMPT, |
45 | | - "commit": CMD_COMMIT_PROMPT |
| 45 | + "commit": CMD_COMMIT_PROMPT, |
| 46 | + "brainstorm": CMD_BRAINSTORM_PROMPT |
46 | 47 | } |
47 | 48 | self.session_id = session_id if session_id else ulid() |
48 | 49 |
|
49 | 50 | commands = [ |
50 | 51 | {"id": "review", "icon": "search-check", "description": "Review file(s) or object(s)"}, |
51 | 52 | {"id": "test", "icon": "flask-conical", "description": "Test file(s) or object(s)"}, |
52 | 53 | {"id": "commit", "icon": "git-commit", "description": "Commit changed files"}, |
53 | | - {"id": "plan", "icon": "notepad-text-dashed", "description": "Create a step-by-step task plan"} |
| 54 | + {"id": "plan", "icon": "notepad-text-dashed", "description": "Create a step-by-step task plan"}, |
| 55 | + {"id": "brainstorm", "icon": "brain-circuit", "description": "Brainstorm and discuss solutions (no code generation)"} |
54 | 56 | ] |
55 | 57 |
|
56 | 58 | async def load(self): |
|
0 commit comments