fix(agent-config): pass useTaskSystem to sisyphus-junior when task_system is enabled
sisyphus-junior prompt always used todo-based discipline text regardless of experimental.task_system setting because the useTaskSystem flag was never forwarded from agent-config-handler to createSisyphusJuniorAgentWithOverrides.
This commit is contained in:
@@ -101,9 +101,11 @@ export async function applyAgentConfig(params: {
|
||||
sisyphus: builtinAgents.sisyphus,
|
||||
};
|
||||
|
||||
const useTaskSystem = params.pluginConfig.experimental?.task_system ?? false;
|
||||
agentConfig["sisyphus-junior"] = createSisyphusJuniorAgentWithOverrides(
|
||||
params.pluginConfig.agents?.["sisyphus-junior"],
|
||||
undefined,
|
||||
useTaskSystem,
|
||||
);
|
||||
|
||||
if (builderEnabled) {
|
||||
|
||||
Reference in New Issue
Block a user