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:
therunnas
2026-06-06 10:44:37 +07:00
committed by decolua
co-authored by Cursor
parent e6c09aad15
commit 61d546627e
4 changed files with 20 additions and 3 deletions
+2 -2
View File
@@ -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