Skip to main content

is_agent

Function is_agent 

Source
pub(crate) fn is_agent(caller: Option<&Caller>) -> bool
Expand description

Whether the caller is an agent AgentMux knows by its token. A person’s own shell (muxopen, muxsh) calls the same routes and keeps its focus.