Skip to main content

Module executor

Module executor 

Source
Expand description

Action executor

This module executes arrays of actions returned by the LLM. It handles both common actions and protocol-specific actions.

Structs§

ActionFailure
One action from a batch that could not be executed.
ExecutionResult
Result of executing all actions

Constants§

FAILED_ACTION_TYPE_PREFIX
Prefix used for the synthetic type of a failed action in the access log.
MAX_SERVER_MEMORY_CHARS
Cap on a server’s memory string.

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