We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6db38be commit 44bec75Copy full SHA for 44bec75
1 file changed
src/core/tools/newTaskTool.ts
@@ -78,7 +78,8 @@ export async function newTaskTool(
78
// Delay to allow mode change to take effect before next tool is executed.
79
await delay(500)
80
81
- const newCline = await provider.initClineWithTask(message, undefined, cline)
+ // Pass the creator mode config from the parent task to ensure creator mode is preserved
82
+ const newCline = await provider.initClineWithTask(message, undefined, cline, {}, cline.creatorModeConfig)
83
cline.emit("taskSpawned", newCline.taskId)
84
85
pushToolResult(`Successfully created new task in ${targetMode.name} mode with message: ${message}`)
0 commit comments