Skip to main content

Commands

CommandDescriptionImplementation
/helpShow available commands and usage hints.src/chat/SlashCommandHandler.ts
/modelChange provider and model (provider:model).src/chat/SlashCommandHandler.ts
/exitGracefully terminate the chat session.src/chat/SlashCommandHandler.ts

All commands run inside the same Effect runtime as messages, so they can call services or tools if needed.

Add your own

Follow the pattern in SlashCommandHandler: add the command to SLASH_COMMANDS, implement a handler, and branch on it in handleSlashCommand.