Skip to main content

Module runtime

Module runtime 

Source

Modules§

agent_loop
Shared agent loop for tool-calling models.

Structs§

NonInteractiveResult
Result of a non-interactive run
NonInteractiveRunner
Non-interactive runner for executing single prompts
Orchestrator
Main runtime orchestrator

Functions§

actionable_init_error
Build a startup error message that tells the user how to escape. The wrapped error from ModelFactory::create already explains WHAT failed (auth, 404, network); this wrapper appends WHAT TO DO so a user with a stale or unauthenticated last_used_model doesn’t have to dig through docs to recover. Used by both startup paths (interactive Orchestrator::run + non-interactive run_non_interactive in main.rs).
format_result
Format a non-interactive result according to the output format