Skip to content

Conversation

aryasaatvik
Copy link
Member

@aryasaatvik aryasaatvik commented Jun 27, 2025

Summary

This PR implements dual model support (main + turbo) for cost-optimized operations and adds model sorting functionality.

Key Changes

Dual Model Support

  • Added turbo_model and turbo_cost_threshold config options
  • New dual-pane model selector (Tab to switch panes)
  • Visual indicators: ⚡ (turbo), 🧠 (reasoning), 🔧 (tools)
  • Smart turbo model selection with fallback logic
  • Fixed Anthropic auth showing incorrect turbo status

Model Sorting

  • Added release_date and last_updated fields to model schema
  • Press 'S' to cycle through sort modes: Name, Last Updated, Release Date
  • Stable multi-level sorting with consistent ordering
  • Helps discover newest models and track updates

Impact

Enables cost optimization for PRs sst#269 (status verbs) and sst#275 (window titles) to use configured turbo models instead of hardcoded ones.

Demo

CleanShot.2025-06-25.at.03.11.30.mp4

- Add turbo_cost_threshold config option (default: 4)
- Replace hardcoded turbo model list with dynamic cost-based detection
- Update UI to show ⚡ emoji based on configurable threshold
- Add isTurboModel() helper function to check model costs
- Standardize terminology from 'lightweight' to 'turbo' throughout
… legend

- Add capability indicators for turbo, reasoning, and tools in model display
- Update rendering logic to right-align capabilities with model name
- Introduce emoji legend for quick reference in scroll indicators
@aryasaatvik aryasaatvik changed the title feat(provider): add lightweight model configuration and retrieval logic feat: dual model support and sorting by release date Jun 27, 2025
@aryasaatvik aryasaatvik marked this pull request as ready for review June 27, 2025 07:21
@aryasaatvik aryasaatvik merged commit ae32429 into AryaLabsHQ:dev Jun 27, 2025
aryasaatvik added a commit that referenced this pull request Jun 27, 2025
## Summary
This PR implements dual model support (main + turbo) for cost-optimized
operations and adds model sorting functionality.

### Key Changes

#### Dual Model Support
- Added `turbo_model` and `turbo_cost_threshold` config options
- New dual-pane model selector (Tab to switch panes)
- Visual indicators: ⚡ (turbo), 🧠 (reasoning), 🔧 (tools)
- Smart turbo model selection with fallback logic
- Fixed Anthropic auth showing incorrect turbo status

#### Model Sorting
- Added `release_date` and `last_updated` fields to model schema
- Press 'S' to cycle through sort modes: Name, Last Updated, Release
Date
- Stable multi-level sorting with consistent ordering
- Helps discover newest models and track updates

### Impact
Enables cost optimization for PRs sst#269 (status verbs) and sst#275 (window
titles) to use configured turbo models instead of hardcoded ones.

### Demo



https://github.com/user-attachments/assets/d076e840-d790-4e23-8cf7-a179282d1f0b
aryasaatvik added a commit that referenced this pull request Jun 27, 2025
## Summary
This PR implements dual model support (main + turbo) for cost-optimized
operations and adds model sorting functionality.

### Key Changes

#### Dual Model Support
- Added `turbo_model` and `turbo_cost_threshold` config options
- New dual-pane model selector (Tab to switch panes)
- Visual indicators: ⚡ (turbo), 🧠 (reasoning), 🔧 (tools)
- Smart turbo model selection with fallback logic
- Fixed Anthropic auth showing incorrect turbo status

#### Model Sorting
- Added `release_date` and `last_updated` fields to model schema
- Press 'S' to cycle through sort modes: Name, Last Updated, Release
Date
- Stable multi-level sorting with consistent ordering
- Helps discover newest models and track updates

### Impact
Enables cost optimization for PRs sst#269 (status verbs) and sst#275 (window
titles) to use configured turbo models instead of hardcoded ones.

### Demo



https://github.com/user-attachments/assets/d076e840-d790-4e23-8cf7-a179282d1f0b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant