Skip to content

fix(qoder): allow models from dynamic cache to bypass static ModelMap…#104

Open
simonsmh wants to merge 3 commits into
kaitranntt:mainfrom
simonsmh:fix/qoder-dynamic-model-validation
Open

fix(qoder): allow models from dynamic cache to bypass static ModelMap…#104
simonsmh wants to merge 3 commits into
kaitranntt:mainfrom
simonsmh:fix/qoder-dynamic-model-validation

Conversation

@simonsmh
Copy link
Copy Markdown
Contributor

@simonsmh simonsmh commented Jun 5, 2026

… check

Models fetched from /algo/api/v2/model/list (e.g. qmodel_latest) were rejected at request time because they were not in the static ModelMap. Fall back to the dynamic model config cache before failing, so any model returned by the live API is automatically accepted without manual updates to ModelMap.

simonsmh added 3 commits June 5, 2026 19:00
… check

Models fetched from /algo/api/v2/model/list (e.g. qmodel_latest) were
rejected at request time because they were not in the static ModelMap.
Fall back to the dynamic model config cache before failing, so any model
returned by the live API is automatically accepted without manual updates
to ModelMap.
- Add qmodel_latest (Qwen3.7 Max) to ModelMap static table
- Update models.json qoder section: add qmodel_latest, correct context
  lengths to 180000 (272000 for performance), update display names to
  match live API (qmodel→Qwen3.7 Plus, mmodel→MiniMax M3), add is_vl
  and thinking levels (low/medium/high/max/xhigh for ultimate/performance,
  high/max for dmodel/dfmodel/gm51model), kmodel ctx→256000
Qoder API does not expose max_output_tokens; the values were guesses.
Remove the field entirely to avoid misleading clients.
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