Skip to content

Commit 204f81f

Browse files
committed
fix(moonshot): fix provider issues with model picker, refresh, and streaming
- Fix duplicate ModelPicker by adding moonshot to PROVIDERS_WITH_CUSTOM_MODEL_UI - Fix HTTP 404 on Refresh Models by preserving /v1 in fetcher URL - Fix empty model list (consequence of 404 fix) - Fix 'No output generated' error by switching MoonshotHandler from OpenAICompatibleHandler (Vercel AI SDK) to OpenAiHandler (OpenAI Node SDK) which is what Moonshot's own API docs recommend - Add dedicated Moonshot fetcher with proper model ID prefixing - Update tests to match new handler implementation All 6,660 backend and 1,432 webview-ui tests pass.
1 parent 21a15e5 commit 204f81f

15 files changed

Lines changed: 502 additions & 232 deletions

File tree

‎packages/types/src/provider-settings.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export const dynamicProviders = [
4545
"unbound",
4646
"poe",
4747
"deepseek",
48+
"moonshot",
4849
"opencode-go",
4950
] as const
5051

0 commit comments

Comments
 (0)