Skip to main content

Interface: BALConfig

Defined in: packages/tools/src/baleybots-dsl-v2/types.ts:339

Properties​

availableTools?​

optional availableTools?: Tools

Defined in: packages/tools/src/baleybots-dsl-v2/types.ts:347

Available tools that bots can reference


input?​

optional input?: string

Defined in: packages/tools/src/baleybots-dsl-v2/types.ts:356

Runtime input to pass to the execution (overrides run("...") in BAL code)


maxLoopIterations?​

optional maxLoopIterations?: number

Defined in: packages/tools/src/baleybots-dsl-v2/types.ts:350

Maximum loop iterations (default: 10)


model?​

optional model?: string | ModelConfig

Defined in: packages/tools/src/baleybots-dsl-v2/types.ts:341

Model to use for created bots


providerConfig?​

optional providerConfig?: ProviderConfig

Defined in: packages/tools/src/baleybots-dsl-v2/types.ts:344

Provider configuration (API keys, etc.)


strictToolNames?​

optional strictToolNames?: boolean | "warn" | "throw"

Defined in: packages/tools/src/baleybots-dsl-v2/types.ts:364

Controls behavior when an entity declares a tool name not found in availableTools.

  • 'warn' (default): console.warn with the missing tool name and available tools list.
  • 'throw': Throw an InterpreterError immediately. Useful in CI/test environments.
  • true: Shorthand for 'throw'.

verbose?​

optional verbose?: boolean

Defined in: packages/tools/src/baleybots-dsl-v2/types.ts:353

Enable verbose logging