feat:Add Nebius Token Factory provider to the catalog#429
Open
amrrs wants to merge 2 commits into
Open
Conversation
Register Nebius Token Factory (https://tokenfactory.nebius.com) as a built-in OpenAI-compatible provider via a catalog.toml entry, following the config-driven catalog: no Python changes. Exposes the 25 chat models the Token Factory /v1/models endpoint currently serves (embedding model omitted), declares reasoning_effort thinking levels (verified accepted by the endpoint), and authenticates with NEBIUS_API_KEY. Defaults to deepseek-ai/DeepSeek-V4-Pro. Add a focused golden test for the entry, add the provider to the expected built-in roster in the catalog/config tests, and rename the user-catalog test placeholder from "nebius" to "example-vendor" so it no longer collides with the new built-in (this also drops a stale api.studio.nebius.ai reference). Document the provider in the providers-and-models guide. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
amrrs
force-pushed
the
feat/nebius-token-factory-catalog
branch
from
July 21, 2026 13:34
aaf26f4 to
7c22a2c
Compare
Author
|
Sorry @alejandro-ao there was an unncessary addition of model context windows added to the TOML file, which now has been fixed and then changes are pushed |
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.
Registers Nebius Token Factory (https://tokenfactory.nebius.com) as a built-in OpenAI-compatible provider, following the config-driven catalog introduced in #241 — a single
catalog.tomlentry, no Python changes.What's in the entry
base_url = https://api.tokenfactory.nebius.com/v1, auth viaNEBIUS_API_KEY(Token Factory endpoint, not the legacy AI Studio)./v1/modelsendpoint currently serves (embedding model omitted).reasoning_effortthinking levels — verified accepted by the endpoint across models.deepseek-ai/DeepSeek-V4-Pro.Per-model
context_windowsare intentionally left out to keep the entry minimal (the field is optional; Tau falls back to its default window).Tests / docs
test_provider_catalog.py,test_provider_config.py).test_provider_catalog.pyuser-catalog placeholder fromnebiustoexample-vendorso it no longer collides with the new built-in (this also removes a staleapi.studio.nebius.aireference).providers-and-modelsguide.Verification
Ran end-to-end against Token Factory:
tau --provider nebiusreturns live completions on the default model. Full suite passes (81 passed);ruffclean.🤖 Generated with Claude Code