Fix hardcoded projectsPath in todo tools

This commit is contained in:
Alex Gleason committed 2026-01-22 00:47:57 -06:00
1 parent ec5dc6d963
commit 8d6f5e6320
3 files changed
+11 -7

No files matched your search

+2 -2
View File
@@ -205,8 +205,8 @@ export const ChatPane = forwardRef<ChatPaneRef, ChatPaneProps>(({
skill: new SkillTool(fs, pluginsPath, cwd),
webfetch: new WebFetchTool({ corsProxy: config.corsProxy }),
websearch: new WebSearchTool(),
todowrite: new TodoWriteTool(fs, projectId),
todoread: new TodoReadTool(fs, projectId),
todowrite: new TodoWriteTool(fs, projectId, { projectsPath }),
todoread: new TodoReadTool(fs, projectId, { projectsPath }),
};
// Add generate_image tool if imageModel is configured