docs(codemode): clarify promise status
This commit is contained in:
parent
78520af164
commit
c9b4eddf25
2 changed files with 20 additions and 8 deletions
|
|
@ -184,6 +184,8 @@ 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