[feat] Add NVIDIA NIM as a built-in provider template
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 72/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- json
- Domain
- api
Research direction
The change belongs in config/provider-templates.json and config/provider-templates-cn.json. Open both files, find the OpenRouter entry, and check that the proposed NVIDIA NIM object matches its shape before inserting it right after. Done when both files contain the entry with the given key, title, baseURL, apiKeyUrl, icon and enabled fields, and the file still parses as valid JSON. The issue has no assignee yet and the maintainer has not answered whether a pull request would be accepted, so confirm that first.
Written by the indexing model from the issue text.
Description
描述你的建议 / Proposal
NVIDIA NIM (https://build.nvidia.com/) hosts many open models behind an OpenAI-compatible API at https://integrate.api.nvidia.com/v1. Today NIM users have to create a custom provider by hand (see #974 and #851). OpenRouter, DeepSeek, Grok and others already ship as entries in config/provider-templates.json and config/provider-templates-cn.json.
Proposed change: add one entry to both template files, right after the OpenRouter entry and in the same form:
{
"key": "nvidia",
"title": "NVIDIA NIM",
"baseURL": "https://integrate.api.nvidia.com/v1",
"apiKeyUrl": "https://build.nvidia.com/",
"icon": "https://cdn.jsdelivr.net/npm/@lobehub/[email protected]/icons/nvidia-color.svg",
"enabled": true
}
Like OpenRouter, no default model is pre-filled; users pick from /models. The base URL stays editable, so self-hosted NIM keeps working. No TypeScript or Rust change is needed, since requests go through the existing Rust request path.
Would you accept a pull request with this change?
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 975
- Avg merge
- 20h 27m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from codexu/note-gen
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
-
[bug]同步失败Open
Difficulty 3/5 1-2 days Newbie friendliness 28/100
Similar issues
-
Diagram: Gantt qa-manually-tested Type: Bug / Error
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
mermaid-js/mermaid-v13#1255 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Name Option For /gifOpenenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
BaseAdresseNationale/adresse.data.gouv.fr#2620 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day