From 5acea6f474d3c217869e5c379e618bb856c5b35b Mon Sep 17 00:00:00 2001 From: TokenMix Date: Fri, 5 Jun 2026 12:06:59 +0800 Subject: [PATCH] feat: add TokenMix as a built-in OpenAI-compatible provider --- src/lib/llm.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/lib/llm.ts b/src/lib/llm.ts index da0296d7..1a1ff9cf 100644 --- a/src/lib/llm.ts +++ b/src/lib/llm.ts @@ -73,6 +73,17 @@ export const INIT_PROVODERS: Provider[] = [ is_valid: false, model_type: '', }, + { + id: 'tokenmix', + name: 'TokenMix', + apiKey: '', + apiHost: 'https://api.tokenmix.ai/v1', + description: 'TokenMix — 171 AI models from 14 providers via a single OpenAI-compatible API.', + is_valid: false, + model_type: '', + modelsEndpoint: '/models', + websiteUrl: 'https://tokenmix.ai', + }, { id: 'tongyi-qianwen', name: 'Qwen',