Skip to main content

agent_mode_of_block

Function agent_mode_of_block 

Source
pub fn agent_mode_of_block(mstore: &Store, block_id: &str) -> String
Expand description

The agentMode of the agent on block_id, for the delivery paths that know only the block (the SessionStart hook, globalmemory:sections). "host" when the block or the key is missing — srv’s default for agentMode everywhere else.