Skip to main content

ExecutionLimits

@forge/monorepo


@forge/monorepo / backend/src / ExecutionLimits

Type Alias: ExecutionLimits

ExecutionLimits = object

Defined in: backend/src/runtime/index.ts:62

Properties

costCeilingMinorUnits

readonly costCeilingMinorUnits: number

Defined in: backend/src/runtime/index.ts:68


maxInlineToolOutputBytes

readonly maxInlineToolOutputBytes: number

Defined in: backend/src/runtime/index.ts:72

Beyond this, a tool result is spilled to blob storage and referenced.


maxInputTokens

readonly maxInputTokens: number

Defined in: backend/src/runtime/index.ts:66


maxOutputTokens

readonly maxOutputTokens: number

Defined in: backend/src/runtime/index.ts:67


maxRetries

readonly maxRetries: number

Defined in: backend/src/runtime/index.ts:69


maxSteps

readonly maxSteps: number

Defined in: backend/src/runtime/index.ts:63


maxToolCalls

readonly maxToolCalls: number

Defined in: backend/src/runtime/index.ts:64


retryBackoffMs

readonly retryBackoffMs: number

Defined in: backend/src/runtime/index.ts:70


temperature?

readonly optional temperature?: number

Defined in: backend/src/runtime/index.ts:80

Sampling temperature, when the agent wants to pin it (#160).

Optional, because "leave the provider's default alone" is a real and common choice, and a required field would force every agent to invent a number. 0 is meaningful and distinct from absent — a graded run needs to be able to ask for it, which is what the evaluation harness's reproducibility argument rests on.


wallClockTimeoutMs

readonly wallClockTimeoutMs: number

Defined in: backend/src/runtime/index.ts:65