Repository navigation
Commit 204f81f
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
- src
- api/providers
- __tests__
- fetchers
- __tests__
- core/webview
- __tests__
- webview-ui/src
- components
- settings
- providers
- utils
- ui/hooks
- utils/__tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
0 commit comments