Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

test(eve): disambiguate recursive-root-only child prompt (#913)

prha5bd415dc2dc1
diff --git a/e2e/fixtures/agent-subagents/evals/recursive-root-only.eval.ts b/e2e/fixtures/agent-subagents/evals/recursive-root-only.eval.ts
index ba38999ed..7d671b2f2 100644
--- a/e2e/fixtures/agent-subagents/evals/recursive-root-only.eval.ts
+++ b/e2e/fixtures/agent-subagents/evals/recursive-root-only.eval.ts
@@ -10,8 +10,8 @@ export default defineEval({
[
"Use the built-in agent subagent exactly once.",
"Give the child this task:",
- "If a built-in agent tool is visible, call it once and return RECURSIVE_AGENT_WAS_VISIBLE.",
- `If no built-in agent tool is visible, return exactly ${CHILD_TOKEN}.`,
+ "If a built-in tool named `agent` is visible, call it once and return RECURSIVE_AGENT_WAS_VISIBLE.",
+ `If no built-in tool named \`agent\` is visible, return exactly ${CHILD_TOKEN}.`,
`After the child returns, reply with its exact output and no other token.`,
].join(" "),
);