fix: update Nebius provider for Token Factory - #13129
Draft
demianarc wants to merge 1 commit into
Draft
Conversation
Contributor
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #13128.
Continue's existing Nebius provider still used the retired Nebius AI Studio host in both the core LLM and the OpenAI adapter. It also rewrote model names through a static alias table that had drifted from the provider catalog; notably,
llama3.1-8bresolved to the 70B model.This change:
https://api.tokenfactory.nebius.com/v1/endpoint while preserving customapiBaseoverridesChat Completions remains the default API surface; this PR does not enable or claim stateful Responses API behavior.
AI Code Review
@continue-reviewChecklist
Screen recording or screenshot
Not applicable: this repairs provider routing, catalog configuration, and copy without changing the form layout.
Tests
cd core && npx vitest run llm/llms/OpenAI-compatible.vitest.ts— 212 passedcd core && npx vitest run llm/llms/OpenAI-compatible.vitest.ts -t nebius— 8 passedcd packages/openai-adapters && npx vitest run src/test/main.test.ts— 17 passedcd packages/openai-adapters && npm run buildcd core && npm run tsc:checkcd gui && npx tsc --project tsconfig.json --noEmitgit diff --checkThe API behavior tests are mocked and do not require or expose a live Nebius API key.