Skip to content

feat(config): add config commit command#2444

Merged
tusharmath merged 44 commits intomainfrom
feat/add-config-commit-command
Mar 10, 2026
Merged

feat(config): add config commit command#2444
tusharmath merged 44 commits intomainfrom
feat/add-config-commit-command

Conversation

@laststylebender14
Copy link
Copy Markdown
Contributor

No description provided.

laststylebender14 and others added 17 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>
@laststylebender14 laststylebender14 changed the base branch from main to feat/model-provider-switch-command February 23, 2026 09:42
@github-actions github-actions Bot added the type: feature Brand new functionality, features, pages, workflows, endpoints, etc. label Feb 23, 2026
@laststylebender14 laststylebender14 marked this pull request as ready for review February 25, 2026 09:27
@tusharmath tusharmath marked this pull request as draft March 2, 2026 05:21
@laststylebender14 laststylebender14 marked this pull request as ready for review March 2, 2026 08:31
@tusharmath tusharmath changed the base branch from feat/model-provider-switch-command to main March 2, 2026 12:12
Comment thread crates/forge_app/src/git_app.rs Outdated
Comment thread crates/forge_app/src/git_app.rs
@tusharmath tusharmath enabled auto-merge (squash) March 10, 2026 11:50
@tusharmath tusharmath merged commit f8a260e into main Mar 10, 2026
9 checks passed
@tusharmath tusharmath deleted the feat/add-config-commit-command branch March 10, 2026 11:55
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