Skip to content

feat(suggest-model): add suggest model command#2511

Merged
tusharmath merged 50 commits intomainfrom
feat/add-suggest-model-command
Mar 11, 2026
Merged

feat(suggest-model): add suggest model command#2511
tusharmath merged 50 commits intomainfrom
feat/add-suggest-model-command

Conversation

@laststylebender14
Copy link
Contributor

No description provided.

laststylebender14 and others added 30 commits February 20, 2026 15:39
- Add get_all_provider_models() to ForgeApp, API trait, and ForgeAPI
  implementation to fetch models from all configured providers
- Add CliModelWithProvider display wrapper that shows model id, context
  length, tools support, and provider name in the selection picker
- Modify select_model() to present a unified model list across all
  providers instead of only the current provider's models
- Modify on_model_selection() to auto-switch the provider when the
  selected model belongs to a different provider than the current one
- Update help message to inform users that provider is switched
  automatically when selecting a model from a different provider

Co-Authored-By: ForgeCode <noreply@forgecode.dev>
Replace sequential for-loop with futures::future::join_all so all
provider model fetches are fired in parallel, avoiding O(n) latency
where n is the number of configured providers.

Co-Authored-By: ForgeCode <noreply@forgecode.dev>
Base automatically changed from feat/add-config-commit-command to main March 10, 2026 11:55
@github-actions github-actions bot added the type: feature Brand new functionality, features, pages, workflows, endpoints, etc. label Mar 10, 2026
@laststylebender14 laststylebender14 marked this pull request as ready for review March 10, 2026 15:53
@tusharmath tusharmath merged commit da37b43 into main Mar 11, 2026
10 checks passed
@tusharmath tusharmath deleted the feat/add-suggest-model-command branch March 11, 2026 04:07
@tusharmath tusharmath changed the title Feat(suggest-model): add suggest model command feat(suggest-model): add suggest model command Mar 11, 2026
tusharmath added a commit that referenced this pull request Mar 13, 2026
Co-authored-by: ForgeCode <noreply@forgecode.dev>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Tushar Mathur <tusharmath@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature Brand new functionality, features, pages, workflows, endpoints, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants