BASIC Execution Modes: RUNTIME vs WORKFLOW π‘ BETA
BASIC tools run in RUNTIME mode by default, with WORKFLOW mode as a persisting alternative.
What it does
The distinction matters where a tool waits: RUNTIME keeps the script thread alive, while WORKFLOW saves state and releases it.
Modes at a glance
| Mode | Waiting keyword | Thread | State |
|---|---|---|---|
| RUNTIME (default) | HEAR blocks |
Held until the reply | In memory |
| WORKFLOW | HEAR returns |
Released | Persisted |
Choose deliberately
Use RUNTIME for short, single-turn tools. Use WORKFLOW where a reply may arrive much later and the thread must not stay blocked.
Limits
- Listed in the closed keyword catalog in
botserver/src/basic/keywords/mod.rs; the runtime reference publishes no exact signature for it, so this page does not invent one. - Listed in the closed keyword catalog in
botserver/src/basic/keywords/mod.rs; the runtime reference publishes no exact signature for it, so this page does not invent one. - The runtime reference publishes exact signatures but no mode flag; no flag is invented here.