Skip to content

fix: add dynamic model discovery for NVIDIA provider#1287

Open
0xSkybreaker wants to merge 1 commit into
XiaomiMiMo:mainfrom
0xSkybreaker:pr/nvidia-dynamic-model-discovery-new
Open

fix: add dynamic model discovery for NVIDIA provider#1287
0xSkybreaker wants to merge 1 commit into
XiaomiMiMo:mainfrom
0xSkybreaker:pr/nvidia-dynamic-model-discovery-new

Conversation

@0xSkybreaker

Copy link
Copy Markdown

Previously the NVIDIA provider relied exclusively on models.dev for its model catalog, which was outdated and missing latest models from the NVIDIA live API.

This change adds a discoverModels function that fetches the model list from NVIDIA public /v1/models endpoint, supplementing the static models.dev data.

The discovery runs on startup alongside other provider discovery (e.g., GitLab) and gracefully handles failures by logging a warning and returning an empty model set.

Previously the NVIDIA provider relied exclusively on models.dev for
its model catalog, which was outdated and missing latest models from
the NVIDIA live API.

This change adds a discoverModels function that fetches the model
list from NVIDIA public /v1/models endpoint, supplementing the
static models.dev data.
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