feat(qoder): refresh model catalog, add capability mapping and image pass-through

- Registry/constants: drop qmodel_preview/gm51model, add lite,
  qmodel_38max (Qwen3.8-Max), qfmodel (Qwen3.8-Flash), gmodel (GLM-5.3),
  gfmodel (GLM-5.3-Flash)
- capabilities: add PROVIDER_CAPABILITIES['qoder'] so opaque internal
  ids resolve to their real models' context windows and limits
- executor: preserve image blocks instead of flattening away, convert
  Claude-style image blocks, and hash images into chat_record_id
- tests: cover image preservation, data-URI and Claude-block conversion
- build(docker): use CN mirrors for apk and npm
This commit is contained in:
hangyu
2026-09-03 23:01:53 +07:00
parent c08efdbe2b
commit 2ab6a4c949
6 changed files with 176 additions and 11 deletions

View File

@@ -54,10 +54,13 @@ export const QODER_MODEL_MAP = {
lite: "lite",
// Frontier models
qmodel: "qmodel",
qfmodel: "qfmodel",
qmodel_latest: "qmodel_latest",
qmodel_38max: "qmodel_38max",
dmodel: "dmodel",
dfmodel: "dfmodel",
gm51model: "gm51model",
gmodel: "gmodel",
gfmodel: "gfmodel",
kmodel: "kmodel",
mmodel: "mmodel",
};