invoker.once
Once invoker – runs an agent exactly once and terminates the runtime.
OnceInvoker Objects
class OnceInvoker(BaseInvoker)
Invoker for once triggers.
When invoked the following steps execute:
- Emit an
agent-startedevent. - Run the agent adapter's
runmethod with the trigger prompt. - Emit an
agent-outputevent carrying the output summary. - Request runtime termination (best-effort).