Expand description
Action executor
This module executes arrays of actions returned by the LLM. It handles both common actions and protocol-specific actions.
Structs§
- Action
Failure - One action from a batch that could not be executed.
- Execution
Result - Result of executing all actions
Constants§
- FAILED_
ACTION_ TYPE_ PREFIX - Prefix used for the synthetic
typeof a failed action in the access log. - MAX_
SERVER_ MEMORY_ CHARS - Cap on a server’s
memorystring.
Functions§
- bound_
server_ memory - Bound a server’s memory to
MAX_SERVER_MEMORY_CHARS, keeping the newest content. - execute_
actions - Execute an array of actions from LLM response
- extract_
server_ management_ actions - Extract server management actions that need special handling