docs(codemode): narrow chaining guidance

This commit is contained in:
Aiden Cline 2026-07-06 18:20:32 -05:00
commit d7d0113591
3 changed files with 5 additions and 4 deletions

View file

@ -184,7 +184,6 @@ it.effect("advertises MCP output schemas to Code Mode", () =>
const execute = (yield* toolDefinitions(registry)).find((tool) => tool.name === "execute")
expect(execute?.description).toContain("tools.demo.search(input: {}): Promise<{\n ok: boolean,\n}>")
expect(execute?.description).toContain("Promises support await, then/catch/finally")
expect(execute?.description).not.toContain("promise chaining are unavailable")
}),
)