Register a custom slash command. Takes `&self` so it can be called on a shared `Arc `.
(&self, cmd: Arc<dyn crate::commands::SlashCommand>)
| 625 | /// |
| 626 | /// Takes `&self` so it can be called on a shared `Arc<AgentSession>`. |
| 627 | pub fn register_command(&self, cmd: Arc<dyn crate::commands::SlashCommand>) { |
| 628 | session_commands::register(self, cmd); |
| 629 | } |
| 630 | |
| 631 | /// Return whether [`close`](Self::close) has been called on this session. |
| 632 | /// |
nothing calls this directly
no test coverage detected