refactor(codemode): split interpreter and stdlib (#35572)
This commit is contained in:
parent
f406fed924
commit
4cee5bd824
16 changed files with 4394 additions and 4320 deletions
6
packages/codemode/src/stdlib/promise.ts
Normal file
6
packages/codemode/src/stdlib/promise.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import type { PromiseMethodName } from "../interpreter/model.js"
|
||||
|
||||
export const promiseStatics = new Set<PromiseMethodName>(["all", "allSettled", "race", "resolve", "reject"])
|
||||
|
||||
/** Maximum number of eagerly forked tool calls that may run concurrently. */
|
||||
export const TOOL_CALL_CONCURRENCY = 8
|
||||
Loading…
Add table
Add a link
Reference in a new issue