fix(qoder): allow qmodel_latest model key
- Add qmodel_latest to QODER_MODEL_MAP - Expose qmodel_latest in static Qoder provider catalog (qd) - Generalize executor comment so model set does not go stale - Add unit coverage for the new model key + catalog Closes #1638 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -153,6 +153,7 @@ export const PROVIDER_MODELS = {
|
||||
{ id: "lite", name: "Qoder Lite" },
|
||||
// Frontier models — pin a specific backing model
|
||||
{ id: "qmodel", name: "Qwen 3.6 Plus (Qoder)" },
|
||||
{ id: "qmodel_latest", name: "Qoder Qwen 3.7 Max" },
|
||||
{ id: "dmodel", name: "DeepSeek V4 Pro (Qoder)" },
|
||||
{ id: "dfmodel", name: "DeepSeek V4 Flash (Qoder)" },
|
||||
{ id: "gm51model", name: "GLM 5.1 (Qoder)" },
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
* - The request shape Qoder expects is non-trivial (chat_context with
|
||||
* mirrored modelConfig, business block with stable IDs, system text
|
||||
* hoisted out of the messages array). All ported from the reference.
|
||||
* - Model identifier is one of the canonical 11 keys (auto / ultimate /
|
||||
* performance / efficient / lite + 6 frontier "*model" ids); the
|
||||
* - Model identifier is one of the canonical Qoder keys (auto / ultimate /
|
||||
* performance / efficient / lite + frontier "*model" ids); the
|
||||
* translator layer feeds us "qoder/<key>" so we strip the prefix.
|
||||
* - Per-model `model_config` is fetched live from /algo/api/v2/model/list
|
||||
* and cached. Sending the wrong block silently downgrades to a
|
||||
|
||||
Reference in New Issue
Block a user