mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-22 06:27:30 +00:00
test(core): match Code Mode description after allSettled change (#52812)
This commit is contained in:
parent
1391c0d52c
commit
ccd2aca07a
1 changed files with 1 additions and 1 deletions
|
|
@ -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"),
|
||||
)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue