feat: allow Sisyphus-Junior to call sisyphus_task
This commit is contained in:
parent
f1cdb3bce1
commit
e23ce11df9
@ -313,6 +313,10 @@ export function createConfigHandler(deps: ConfigHandlerDeps) {
|
||||
const agent = agentResult["Prometheus (Planner)"] as AgentWithPermission;
|
||||
agent.permission = { ...agent.permission, call_omo_agent: "deny", sisyphus_task: "allow" };
|
||||
}
|
||||
if (agentResult["Sisyphus-Junior"]) {
|
||||
const agent = agentResult["Sisyphus-Junior"] as AgentWithPermission;
|
||||
agent.permission = { ...agent.permission, sisyphus_task: "allow" };
|
||||
}
|
||||
|
||||
config.permission = {
|
||||
...(config.permission as Record<string, unknown>),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user