Module background_agent_dispatch

Module background_agent_dispatch 

Source
Expand description

BackgroundAgentDispatcher — fire-and-forget text agent dispatch from live callbacks.

Spawns TextAgent pipelines on background tokio tasks. Results are written to State under {task_name}:result / {task_name}:error keys, where watchers can react to them.

A semaphore budget prevents unbounded task explosion.

Structs§

BackgroundAgentDispatcher
Dispatcher for running TextAgent pipelines as background tasks.