Expand description
Background executor for autonomous gorilla tasks.
The BackgroundExecutor manages tokio tasks that run gorillas on their
configured schedules. Each gorilla gets its own spawned task that sleeps
for the configured interval, acquires a global LLM concurrency semaphore,
and then runs the fighter loop with an autonomous prompt.
Structs§
- Background
Executor - Manages background gorilla tasks that run autonomously on schedules.
Functions§
- fighter_
manifest_ from_ gorilla - Build a
FighterManifestfrom aGorillaManifest, using the provideddefault_modelas a fallback when the gorilla does not specify its own model. - run_
gorilla_ tick - Run a single autonomous tick for a gorilla. This is the reusable core that
both the background scheduler and the CLI
gorilla testcommand invoke.