Expand description
AgentConfig — configuration for a single agentic loop run.
This module also defines the public ceiling constants used by HTTP and CLI callers to clamp untrusted user input to safe values. Centralising them here ensures a single source of truth across all entry points.
Structs§
- Agent
Config - Configuration that governs a single agentic loop run.
Enums§
- Agent
Config Error - Error returned when
AgentConfig::validateddetects an invalid field.
Constants§
- DEFAULT_
MAX_ ITERATIONS - Default value for
AgentConfig::max_iterations. - DEFAULT_
MAX_ PARALLEL_ TOOLS - Default value for
AgentConfig::max_parallel_tools. - MAX_
ITERATIONS_ CEILING - Hard ceiling on
max_iterationsaccepted from external callers. - MAX_
PARALLEL_ TOOLS_ CEILING - Hard ceiling on
max_parallel_toolsaccepted from external callers. - MAX_
TOOL_ TIMEOUT_ MS_ CEILING - Hard ceiling on
tool_timeout_msaccepted from external callers (60 s). - MIN_
CONTEXT_ BUDGET_ CHARS - Hard floor on
context_budget_chars(100 characters). - MIN_
TOOL_ TIMEOUT_ MS - Hard floor on
tool_timeout_msaccepted from external callers (100 ms).