-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or requestgood-first-issueGood for newcomersGood for newcomersuiUser interface improvementsUser interface improvementsusabilityIssues related to user experience and workflow improvementsIssues related to user experience and workflow improvementsuxUser experience improvementsUser experience improvements
Description
Summary
The current /model
command requires users to manually type the full provider:model-name format without any assistance or validation. We should enhance this feature to provide a better user experience with searchable model selection using https://github.com/sst/models.dev.
Current Issues
- No model validation or suggestions
- Users must know exact model names and provider prefixes
- No search functionality
- No way to discover available models
Proposed Solution
Integrate models.dev to provide:
- Searchable model selection - Users can search for models by name, provider, or capabilities
- Model discovery - Browse available models with descriptions
- Auto-completion - Suggest models as users type
- Model information - Show details like pricing, context window, capabilities
- Validation - Verify model names against models.dev database
Implementation Ideas
- Fetch model data from models.dev API or use their SDK
- Add fuzzy search functionality to
/model
command - Implement interactive model picker with arrow key navigation
- Cache model list locally for offline use
- Show model metadata (pricing, context length, etc.) during selection
Example Usage
/model
> Search: claude
anthropic:claude-3-opus-20240229 (200k context, $15/$75)
anthropic:claude-3-sonnet-20240229 (200k context, $3/$15)
anthropic:claude-3-haiku-20240307 (200k context, $0.25/$1.25)
> Select with arrow keys or continue typing...
References
- models.dev repository: https://github.com/sst/models.dev
- Current implementation: src/tunacode/cli/commands/implementations/model.py:12-62
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood-first-issueGood for newcomersGood for newcomersuiUser interface improvementsUser interface improvementsusabilityIssues related to user experience and workflow improvementsIssues related to user experience and workflow improvementsuxUser experience improvementsUser experience improvements