Skip to content

feat: add Tensorix as an LLM provider#11184

Open
shanemort1982 wants to merge 3 commits intocontinuedev:mainfrom
shanemort1982:add-tensorix-provider
Open

feat: add Tensorix as an LLM provider#11184
shanemort1982 wants to merge 3 commits intocontinuedev:mainfrom
shanemort1982:add-tensorix-provider

Conversation

@shanemort1982
Copy link

@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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants