feat: add Tensorix as an LLM provider#11184
Open
shanemort1982 wants to merge 2 commits intocontinuedev:mainfrom
Open
feat: add Tensorix as an LLM provider#11184shanemort1982 wants to merge 2 commits intocontinuedev:mainfrom
shanemort1982 wants to merge 2 commits intocontinuedev:mainfrom
Conversation
Adds Tensorix (https://tensorix.ai) as a new OpenAI-compatible provider, giving users access to DeepSeek, Llama 4, Qwen, GLM, and other models through a single API key. Changes: - New LLM class (core/llm/llms/Tensorix.ts) - Registered in LLM index and config schema - Added to VS Code extension config schema - Added to GUI provider selection with AUTODETECT
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
Contributor
There was a problem hiding this comment.
1 issue found across 5 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="extensions/vscode/config_schema.json">
<violation number="1" location="extensions/vscode/config_schema.json:230">
P1: Missing comma after newly added `"tensorix"` makes `config_schema.json` invalid JSON and breaks schema parsing.</violation>
</file>
Since this is your first cubic review, here's how it works:
- cubic automatically reviews your code and comments on bugs and improvements
- Teach cubic by replying to its comments. cubic learns from your replies and gets better over time
- Add one-off context when rerunning by tagging
@cubic-dev-aiwith guidance or docs links (includingllms.txt) - Ask questions if you need clarification on any suggestion
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
Author
|
I have read the CLA Document and I hereby sign the CLA |
Co-authored-by: openhands <openhands@all-hands.dev>
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.
Hey 👋
I've added Tensorix as a new provider option. It's an OpenAI-compatible API gateway — one key gets you DeepSeek V3/R1, Llama 4, Qwen 3, GLM-4, MiniMax, and a bunch of other models. Pay-as-you-go, no subscription.
What's in the PR
Pretty lightweight since it just extends the OpenAI class:
core/llm/llms/Tensorix.ts— new provider class (14 lines, extends OpenAI)core/llm/llms/index.ts— registrationcore/control-plane/schema.ts— schema validationextensions/vscode/config_schema.json— VS Code config supportgui/src/pages/AddNewModel/configs/providers.ts— GUI model picker with AUTODETECTUsage
{ "models": [{ "provider": "tensorix", "model": "deepseek/deepseek-chat-v3.1", "apiKey": "YOUR_KEY" }] }Users can also pick Tensorix from the Add Model UI and it'll auto-detect available models.
Why add this
Continue already has great provider coverage and Tensorix fills a gap for users who want a single gateway to multiple model families (DeepSeek, Meta, Qwen, etc.) without managing separate API keys. We've already got a Continue integration guide on our docs and would be happy to cross-link — more visibility for both projects.
Followed the same patterns as SiliconFlow/Novita. Let me know if you'd like any changes!
Summary by cubic
Add
tensorixas an OpenAI-compatible LLM provider, giving users access to DeepSeek, Llama, Qwen, GLM, and more through a single API key. Provider is available in config, VS Code, and the Add Model UI with auto-detect.New Features
Tensorixclass extendingOpenAIwith defaultapiBasehttps://api.tensorix.ai/v1/and modeldeepseek/deepseek-chat-v3.1.tensorixinLLMClassesand control-plane schemas for models and embeddings.config_schema.jsonupdated to supporttensorixwith provider help text.tensorixwith API key input andAUTODETECT.Bug Fixes
config_schema.jsonfortensorixentries.Written for commit 4c71836. Summary will update on new commits.