Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion packages/core/src/nvidia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ export const NVIDIA_BASE_URL = 'https://integrate.api.nvidia.com/v1';
* Surfaces in the wizard as the placeholder; the user can override via the
* model picker (which fetches the live list from `/v1/models`).
*/
export const NVIDIA_DEFAULT_MODEL = 'deepseek-ai/deepseek-v4-pro';
/**
* NVIDIA NIM advertises some models in `/v1/models` whose chat-completions
* endpoints stall with no response (e.g. `deepseek-v4-pro`, `deepseek-v4-flash`).
* Pick a model whose streaming endpoint is verified working so first-run users
* don't get stuck in an infinite loading state.
*/
export const NVIDIA_DEFAULT_MODEL = 'moonshotai/kimi-k2.5';

export interface NvidiaModelSummary {
id: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const PROVIDERS: ProviderInfo[] = [
id: 'nvidia',
name: 'NVIDIA NIM',
envVar: 'NVIDIA_API_KEY',
defaultModel: 'deepseek-ai/deepseek-v4-pro',
defaultModel: 'moonshotai/kimi-k2.5',
defaultBaseUrl: 'https://integrate.api.nvidia.com/v1',
customResolution: true,
},
Expand Down
4 changes: 2 additions & 2 deletions packages/core/tests/nvidia.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('buildNvidiaModel', () => {
});

it('exports a default model id matching the wizard\'s onboarding placeholder', () => {
expect(NVIDIA_DEFAULT_MODEL).toBe('deepseek-ai/deepseek-v4-pro');
expect(NVIDIA_DEFAULT_MODEL).toBe('moonshotai/kimi-k2.5');
expect(NVIDIA_BASE_URL).toBe('https://integrate.api.nvidia.com/v1');
});
});
Expand Down Expand Up @@ -119,7 +119,7 @@ describe('PROVIDERS registry — nvidia entry', () => {
const nvidia = getProviderById('nvidia');
expect(nvidia).toBeDefined();
expect(nvidia!.envVar).toBe('NVIDIA_API_KEY');
expect(nvidia!.defaultModel).toBe('deepseek-ai/deepseek-v4-pro');
expect(nvidia!.defaultModel).toBe('moonshotai/kimi-k2.5');
expect(nvidia!.defaultBaseUrl).toBe('https://integrate.api.nvidia.com/v1');
// Hosted (not local) — NVIDIA needs an API key, unlike ollama.
expect(nvidia!.local).toBeUndefined();
Expand Down
Loading