docs(codemode): narrow chaining guidance
This commit is contained in:
parent
c9b4eddf25
commit
d7d0113591
3 changed files with 5 additions and 4 deletions
|
|
@ -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")
|
||||
}),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue