Skip to main content

agent_definition_id

Function agent_definition_id 

Source
fn agent_definition_id(block: &Block) -> Option<&str>
Expand description

The agent definition id a block carries, if it is an agent block with a valid one. Stored under agentId (current shape, set by agent.open + the frontend launch flow) or the legacy agent:id.