Commit graph

2 commits

Author SHA1 Message Date
Partha
9ac154d2a0
feat: Add OpenRouter Provider Support with Dynamic Model Loading (#8738)
* Add OpenRouter provider configuration to Add Model Form

* feat: add search functionality to model selection listbox

* Update gui/src/components/modelSelection/ModelSelectionListbox.tsx

ai suggestion

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* fix: update isOpenSource determination based on hugging_face_id

* Trigger CI/CD

* refactor: propery cleanup openrouter

* feat: add initialization function for OpenRouter models

- Replaced the import of openRouterModelsList with getOpenRouterModelsList.
- Added a new function `initializeOpenRouterModels` to fetch and initialize OpenRouter models from the API.
- Updated the providers object with the fetched models upon successful retrieval.
- Added error handling to reset the models list in case of a fetch failure.

* feat: enhance OpenRouter model initialization with loading placeholder and effect hook

* fix: openrouter model fetching cleanup

* fix: open router model fetching cleanup

* lint: cli

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2026-02-02 21:59:44 -08:00
Nate
be45ab63ca Add 'extensions/cli/' from commit 'e27a5c87d520e28844c9eac10bc6d301feee4b5e'
git-subtree-dir: extensions/cli
git-subtree-mainline: 1674c2aff1
git-subtree-split: e27a5c87d5
2025-08-20 17:19:56 -07:00