promise.ts 293 B

123456
  1. import type { PromiseMethodName } from "../interpreter/model.js"
  2. export const promiseStatics = new Set<PromiseMethodName>(["all", "allSettled", "race", "resolve", "reject"])
  3. /** Maximum number of eagerly forked tool calls that may run concurrently. */
  4. export const TOOL_CALL_CONCURRENCY = 8