Skip to content

feat: add UnoRouter provider#12965

Open
0-don wants to merge 2 commits into
continuedev:mainfrom
0-don:feat/add-unorouter-provider
Open

feat: add UnoRouter provider#12965
0-don wants to merge 2 commits into
continuedev:mainfrom
0-don:feat/add-unorouter-provider

Conversation

@0-don

@0-don 0-don commented Jul 9, 2026

Copy link
Copy Markdown

Description

Adds UnoRouter as a model provider. UnoRouter (unorouter.com) is an open-source OpenAI-compatible gateway serving 200+ models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, Qwen and more) behind one API key; models with a :free suffix cost nothing.

What's included, mirroring the Xiaomi MiMo provider PR (#9404):

  • core/llm/llms/UnoRouter.ts: OpenAI subclass, apiBase https://api.unorouter.com/v1/, default model deepseek-v4-flash:free
  • Registered in core/llm/llms/index.ts, PROVIDER_HANDLES_TEMPLATING and PROVIDER_SUPPORTS_IMAGES in core/llm/autodetect.ts
  • Subclass tests in core/llm/llms/OpenAI-compatible.vitest.ts (218/218 pass locally)
  • Docs page docs/customize/model-providers/more/unorouter.mdx + docs.json nav entry
  • GUI Add Model entries (providers.ts, models.ts) + logo

AI Code Review

  • Team members only: AI review runs automatically when PR is opened or marked ready for review
  • Team members can also trigger a review by commenting @continue-review

Checklist

  • I've read the contributing guide
  • The relevant docs, if any, have been updated or created (docs/customize/model-providers/more/unorouter.mdx)
  • The relevant tests, if any, have been updated or created (core/llm/llms/OpenAI-compatible.vitest.ts)

@0-don 0-don requested a review from a team as a code owner July 9, 2026 21:35
@0-don 0-don requested review from sestinj and removed request for a team July 9, 2026 21:35
@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jul 9, 2026
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

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

@0-don

0-don commented Jul 9, 2026

Copy link
Copy Markdown
Author

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

1 similar comment
@0-don

0-don commented Jul 9, 2026

Copy link
Copy Markdown
Author

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

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

None yet

Development

Successfully merging this pull request may close these issues.

1 participant