Skip to main content

Module state

Module state 

Source
Expand description

State management for pending generation sessions.

The StateManager stores temporary session data between introspect_server and save_categorized_tools calls. Sessions expire after 30 minutes and are cleaned up lazily on each operation.

Structs§

StateManager
State manager for pending generation sessions.

Enums§

StateError
Errors from StateManager::store.

Constants§

MAX_PENDING_SESSIONS
Maximum number of concurrent pending generation sessions (denial-of-service protection, CWE-400).
MAX_TOTAL_PENDING_BYTES
Maximum combined approximate memory footprint of every pending session at once (denial-of-service protection, CWE-400).