fix(qoder): allow models from dynamic cache to bypass static ModelMap…#104
Open
simonsmh wants to merge 3 commits into
Open
fix(qoder): allow models from dynamic cache to bypass static ModelMap…#104simonsmh wants to merge 3 commits into
simonsmh wants to merge 3 commits into
Conversation
… 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.
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.
… 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.