Skip to content

feat: add Tensorix as an LLM provider#11184

Merged
RomneyDa merged 3 commits intocontinuedev:mainfrom
shanemort1982:add-tensorix-provider
Mar 19, 2026
Merged

feat: add Tensorix as an LLM provider#11184
RomneyDa merged 3 commits intocontinuedev:mainfrom
shanemort1982:add-tensorix-provider

Conversation

@shanemort1982
Copy link
Contributor

@shanemort1982 shanemort1982 commented Mar 8, 2026

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 — registration
  • core/control-plane/schema.ts — schema validation
  • extensions/vscode/config_schema.json — VS Code config support
  • gui/src/pages/AddNewModel/configs/providers.ts — GUI model picker with AUTODETECT

Usage

{
  "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 tensorix as an OpenAI-compatible LLM provider available across config, VS Code, and the Add Model UI with auto-detect. Unlocks DeepSeek, Llama, Qwen, GLM, and more via a single API key.

  • New Features

    • New Tensorix class extending OpenAI with default apiBase https://api.tensorix.ai/v1/ and model deepseek/deepseek-chat-v3.1.
    • Registered provider in LLMClasses, control-plane schemas (models and embeddings), and packages/openai-adapters (index + types).
    • Autodetect support: added to templating, image support, and parallel generation lists.
    • VS Code config_schema.json, GUI model picker with API key + AUTODETECT, and docs page customize/model-providers/more/tensorix.mdx (added to navigation).
  • Bug Fixes

    • Fixed missing commas in VS Code config_schema.json for tensorix entries.

Written for commit 93c7f1f. Summary will update on new commits.

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
@shanemort1982 shanemort1982 requested a review from a team as a code owner March 8, 2026 10:53
@shanemort1982 shanemort1982 requested review from RomneyDa and removed request for a team March 8, 2026 10:53
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Mar 8, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 8, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-ai with guidance or docs links (including llms.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.

@shanemort1982
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

Co-authored-by: openhands <openhands@all-hands.dev>
Copy link
Collaborator

@RomneyDa RomneyDa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @shanemort1982,

I can merge this with these changes:

  • Add to config.yaml providers as well (also see openai adapters)
  • Check PROVIDER_SUPPORTS_IMAGES, PARALLEL_PROVIDERS, PROVIDER_HANDLES_TEMPLATING (almost certainly add to that)
  • Add docs (a "more providers" page)

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Mar 13, 2026
- Add tensorix to openai-adapters (types.ts + index.ts)
- Add tensorix to PROVIDER_HANDLES_TEMPLATING, PROVIDER_SUPPORTS_IMAGES,
  and PARALLEL_PROVIDERS in autodetect.ts
- Add docs page for Tensorix under more providers
- Add tensorix to docs.json navigation

Co-authored-by: openhands <openhands@all-hands.dev>
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Mar 14, 2026
Copy link
Collaborator

@RomneyDa RomneyDa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shanemort1982 thanks for the contribution!

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 19, 2026
@RomneyDa RomneyDa merged commit 19c3f35 into continuedev:main Mar 19, 2026
52 of 60 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs Mar 19, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Mar 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants