Skip to main content

Module background

Module background 

Source
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§

BackgroundExecutor
Manages background gorilla tasks that run autonomously on schedules.

Functions§

fighter_manifest_from_gorilla
Build a FighterManifest from a GorillaManifest, using the provided default_model as 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 test command invoke.