Interactive Model Selection
Browse AI providers and select models through an interactive inline keyboard in Telegram. This feature eliminates the need to memorize and type model IDs manually.Overview
When you send/model or /models in Telegram, crocbot displays interactive buttons that let you:
- View your current model at a glance
- Browse available AI providers
- Navigate paginated model lists
- Select a model with a single tap
Commands
/model - View Current Model
Shows your currently active model with a “Browse providers” button to change it.
/models - Browse Providers Directly
Shows the provider list immediately, skipping the current model display.
Button Flow
1. Provider Selection
After tapping “Browse providers” or using/models, you see provider buttons arranged two per row:
2. Model List
Tapping a provider shows its available models. Lists with more than 8 models are paginated:3. Model Selection
Tap a model to select it. You receive a confirmation message:Navigation
| Button | Action |
|---|---|
| Provider name | View models for that provider |
| Model name | Select that model |
< Prev | Previous page of models |
Next > | Next page of models |
Back | Return to provider list |
Context Isolation
Model selections are isolated per chat context:- DM: Your personal default model
- Group chat: Model for that specific group
- Forum topic: Model for that specific topic thread
Troubleshooting
Buttons Not Responding
If buttons stop responding after a bot restart, send a new/model or /models command. Old message buttons may reference expired callback data.
Model Not in List
If a model you expect is not listed:- Check that the provider is configured with valid credentials
- Verify the model is in your allowlist (
agents.defaults.models) - Run
crocbot models statusto check provider auth
”Model is not allowed” Error
Your configuration includes an allowlist that restricts available models. Either:- Add the model to
agents.defaults.modelsin your config - Clear the allowlist to allow all models
- Use
/modelto pick from the allowed list
Related
- Models CLI - Model configuration and management
- CLI models command -
crocbot modelsreference - Model Failover - Auth rotation and fallbacks
- Model Providers - Provider overview
