Conversation
Mizumi (https://mizumi.co) is an OpenAI-compatible LLM API gateway. Base URL https://api.mizumi.co/v1, Bearer auth (sk-mizumi-...), streaming supported. Models: gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna, gpt-5.5, gpt-5.4, gpt-4.1-mini. Modeled on the SiliconFlow/Tensorix provider integrations: - app/api/mizumi.ts (new): server-side proxy route - app/client/platforms/mizumi.ts (new): client LLMApi implementation - app/constant.ts: MIZUMI_BASE_URL, ApiPath/ServiceProvider/ModelProvider entries, Mizumi endpoint paths, mizumiModels, DEFAULT_MODELS (sorted: 16) - app/api/[provider]/[...path]/route.ts + app/api/auth.ts: route + key wiring - app/client/api.ts: MizumiApi registration + header auth - app/config/server.ts: MIZUMI_URL / MIZUMI_API_KEY env support - app/store/access.ts: mizumiUrl/mizumiApiKey state + isValidMizumi() - app/components/settings.tsx: endpoint + API key settings UI - app/locales/en.ts + cn.ts: locale strings (cn is the LocaleType source)
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.
What
Adds Mizumi as a built-in API provider, following the same integration pattern as SiliconFlow / 302.AI (and the community Tensorix PR #6719).
Mizumi (https://mizumi.co) is an OpenAI-compatible LLM API gateway:
https://api.mizumi.co/v1, auth viaAuthorization: Bearer sk-mizumi-...gpt-5.6-sol,gpt-5.6-terra,gpt-5.6-luna,gpt-5.5,gpt-5.4,gpt-4.1-miniX-Accel-Buffering: nopassthrough)Files changed (11)
app/api/mizumi.ts(new) — server-side proxy route (fixed the copy-paste bug present in the Tensorix PR: usesserverConfig.mizumiUrl, notsiliconFlowUrl)app/client/platforms/mizumi.ts(new) — clientLLMApiimplementation with streaming/thinking parsing and live/v1/modelslistingapp/constant.ts—MIZUMI_BASE_URL,ApiPath/ServiceProvider/ModelProviderentries,Mizumiendpoint paths,mizumiModels,DEFAULT_MODELSregistration (providersorted: 16, the next free slot after ai302=15)app/api/[provider]/[...path]/route.ts,app/api/auth.ts— route + system key wiringapp/client/api.ts—MizumiApiregistration +getHeaders()authapp/config/server.ts—MIZUMI_URL/MIZUMI_API_KEYenv support for self-hostersapp/store/access.ts—mizumiUrl/mizumiApiKeystate +isValidMizumi()app/components/settings.tsx— endpoint + API key settings UIapp/locales/en.ts,app/locales/cn.ts— locale strings (cn.tsis theLocaleTypesource, so the Mizumi block is added there too; other locales fall back viaDeepPartial)Verification
npx tsc --noEmitpasses (the only remaining error,app/config/build.ts→ missingsrc-tauri/tauri.conf.json, is pre-existing on main and unrelated).next build/ lint suite (heavy); happy to address any CI findings.Contact: laurence.fok@synercoint.com