fix: migrate Nebius alias to Token Factory - #3975
Draft
demianarc wants to merge 1 commit into
Draft
Conversation
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.
What changed
nebiusalias at the Nebius Token Factory inference endpointWhy
Nebius AI Studio evolved into Nebius Token Factory. The old
api.studio.nebius.comendpoint and the provider page's sample catalog were left behind, so the built-in alias sent new users to a legacy endpoint and the example referenced a retired model.This repairs the existing alias; it does not add another provider or generated model catalog. The provider remains on Docker Agent's OpenAI-compatible Chat Completions path.
Nebius migration reference: https://docs.tokenfactory.nebius.com/other-capabilities/migration-guide
Impact
Configurations using
provider: nebiusnow targethttps://api.tokenfactory.nebius.com/v1while keeping the sameNEBIUS_API_KEYcontract. Users get current setup guidance and can discover the catalog without another hard-coded model list becoming stale.Validation
go test ./pkg/model/provider -run 'Test(LookupAlias|CatalogAliases|NebiusAliasUsesTokenFactoryEndpoint)$' -count=1go test ./..../scripts/build.shgo run ./lint .(1,793 files, no offenses)go mod tidy -diffnpx --yes markdownlint-cli2@0.22.1 providers/nebius/index.md(118 files, 0 errors)docker-agent models --all --provider nebius --format json(includesopenai/gpt-oss-120b)git diff --checkLive inference was not run because no Token Factory API key was available in the test environment.