test(core): match Code Mode description after allSettled change (#52812)

This commit is contained in:
Kit Langton
2026-10-02 11:14:27 -07:00
committed by GitHub
Unverified
parent 1391c0d52c
commit ccd2aca07a
+1 -1
View File
@@ -27,7 +27,7 @@ test("execute describes invariant Code Mode behavior", () => {
"Within `{ code }`, the only callable tools are those explicitly listed in the Code Mode catalog instructions or returned by the `search` function. Inside `{ code }`, ignore tools shown outside the Code Mode catalog. They are not available in the Code Mode runtime.",
'Call tools through `tools` using only exact paths and signatures from the catalog. Do not infer or normalize tool names; preserve bracket notation such as `tools.<namespace>["tool-name"](input)`.',
"Prefer an explicit `return`; if omitted, the final top-level expression becomes the result.",
"Await every call whose completion matters; pending calls are interrupted when execution ends. Run independent calls concurrently with `Promise.all`.",
"Await every call whose completion matters; pending calls are interrupted when execution ends. Run independent calls concurrently with `Promise.allSettled`.",
].join("\n"),
)
})