fix(athena): conditional prompt references for missing-council mode

This commit is contained in:
ismeth
2026-02-20 14:36:23 +01:00
committed by YeonGyu-Kim
parent 3cdac3eba6
commit e79f374ea5

View File

@@ -196,7 +196,7 @@ export async function createBuiltinAgents(
if (registeredKeys.length > 0) {
const memberList = registeredKeys.map((key) => `- "${key}"`).join("\n")
const councilTaskInstructions = `\n\n## Registered Council Members (use these as subagent_type in task calls)\n\n${memberList}`
const councilTaskInstructions = `\n\n## Registered Council Members\n\nUse these as subagent_type in task calls:\n\n${memberList}`
result["athena"] = {
...result["athena"],
prompt: (result["athena"].prompt ?? "") + councilTaskInstructions,