We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 380766c commit 636180eCopy full SHA for 636180e
src/common/utils/tools/tools.ts
@@ -139,8 +139,13 @@ export async function getToolsForModel(
139
propose_plan: createProposePlanTool(config),
140
todo_write: createTodoWriteTool(config),
141
todo_read: createTodoReadTool(config),
142
- task: createTaskTool(config),
143
- agent_report: createAgentReportTool(config),
+ // Task tooling is optional (not available in all entrypoints like the CLI / replay tools).
+ ...(config.taskService
144
+ ? {
145
+ task: createTaskTool(config),
146
+ agent_report: createAgentReportTool(config),
147
+ }
148
+ : {}),
149
status_set: createStatusSetTool(config),
150
};
151
0 commit comments