pub fn handle_with_session_agent( args: Option<&Map<String, Value>>, session: &mut SessionState, agent_id: Option<&str>, ) -> String