fix(athena): conditional prompt references for missing-council mode
This commit is contained in:
@@ -196,7 +196,7 @@ export async function createBuiltinAgents(
|
|||||||
|
|
||||||
if (registeredKeys.length > 0) {
|
if (registeredKeys.length > 0) {
|
||||||
const memberList = registeredKeys.map((key) => `- "${key}"`).join("\n")
|
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"] = {
|
||||||
...result["athena"],
|
...result["athena"],
|
||||||
prompt: (result["athena"].prompt ?? "") + councilTaskInstructions,
|
prompt: (result["athena"].prompt ?? "") + councilTaskInstructions,
|
||||||
|
|||||||
Reference in New Issue
Block a user