fix(agents): block task/sisyphus_task/call_omo_agent from explore and librarian
Exploration agents should not spawn other agents - they are leaf nodes in the agent hierarchy for codebase search only.
This commit is contained in:
parent
03beb8e45c
commit
073b7e4e65
@ -28,6 +28,9 @@ export function createExploreAgent(model: string = DEFAULT_MODEL): AgentConfig {
|
|||||||
const restrictions = createAgentToolRestrictions([
|
const restrictions = createAgentToolRestrictions([
|
||||||
"write",
|
"write",
|
||||||
"edit",
|
"edit",
|
||||||
|
"task",
|
||||||
|
"sisyphus_task",
|
||||||
|
"call_omo_agent",
|
||||||
])
|
])
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
@ -25,6 +25,9 @@ export function createLibrarianAgent(model: string = DEFAULT_MODEL): AgentConfig
|
|||||||
const restrictions = createAgentToolRestrictions([
|
const restrictions = createAgentToolRestrictions([
|
||||||
"write",
|
"write",
|
||||||
"edit",
|
"edit",
|
||||||
|
"task",
|
||||||
|
"sisyphus_task",
|
||||||
|
"call_omo_agent",
|
||||||
])
|
])
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user