Skip to content

feat(deepseek): wire DeepSeek into dynamic router-model cache#15

Merged
krzychdre merged 1 commit into
mainfrom
feat/deepseek-dynamic-model-fetching
May 9, 2026
Merged

feat(deepseek): wire DeepSeek into dynamic router-model cache#15
krzychdre merged 1 commit into
mainfrom
feat/deepseek-dynamic-model-fetching

Conversation

@krzychdre

Copy link
Copy Markdown
Owner

Adds DeepSeek to the dynamicProviders tuple and registers a new fetcher that hits https://api.deepseek.com/models, merging the live list with the static deepSeekModels specs. Known model IDs keep their pricing and context-window data; unknown models receive sensible 128K/8K-output defaults so they become selectable in the generic model picker.

The webview aggregator pushes a DeepSeek candidate when an API key is present (mirroring the Poe pattern), and useSelectedModel falls back to the static list when the live fetch fails — so existing users keep working on deepseek-chat / deepseek-reasoner without regressions.

PR - re-implemented after:
Zoo-Code-Org/Zoo-Code#40 by taltas

Adds DeepSeek to the dynamicProviders tuple and registers a new fetcher
that hits https://api.deepseek.com/models, merging the live list with
the static deepSeekModels specs. Known model IDs keep their pricing and
context-window data; unknown models receive sensible 128K/8K-output
defaults so they become selectable in the generic model picker.

The webview aggregator pushes a DeepSeek candidate when an API key is
present (mirroring the Poe pattern), and useSelectedModel falls back to
the static list when the live fetch fails — so existing users keep
working on deepseek-chat / deepseek-reasoner without regressions.
@krzychdre krzychdre merged commit 7e987ea into main May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant