Skip to main content

Module config

Module config 

Source
Expand description

Agent configuration types.

Structs§

AfterToolCallContext
Hook context for afterToolCall.
AfterToolCallResult
Result of afterToolCall hook.
AgentConfig
Agent runtime configuration
AgentHooks
Callback hooks for the agent loop.
BeforeToolCallContext
Hook context for beforeToolCall.
BeforeToolCallResult
Result of beforeToolCall hook.
ShouldStopAfterTurnContext
Hook context for shouldStopAfterTurn.

Enums§

Mode
Agent autonomy mode.
ToolExecutionMode
How tool calls are executed within a single assistant turn.