openclaw/scripts/repro
Darren2030 c4cac33af6
fix(openrouter): expand short canonical model IDs to upstream API slugs (fixes #95198) (#95268)
- Add OPENROUTER_SHORT_TO_API_MODEL_ID map for short model refs like
  openrouter/deepseek-v4-flash that OpenClaw surfaces but OpenRouter API
  expects as deepseek/deepseek-v4-flash.
- In normalizeOpenRouterApiModelId, expand short refs before falling back
  to the existing namespaced strip logic.
- Add unit tests covering short refs, long refs, native routes, and
  pass-through cases.
- Add standalone reproduction script that verifies all normalization cases.
2026-06-22 19:15:25 +00:00
..
code-mode-namespace-live-docker.sh
code-mode-namespace-live-scenario.sh
code-mode-namespace-live.ts
issue-95198-openrouter-short-model.mts fix(openrouter): expand short canonical model IDs to upstream API slugs (fixes #95198) (#95268) 2026-06-22 19:15:25 +00:00
limit-edge-case-live-proof.mjs
tsx-name-repro.ts
webchat-auto-tts-live-proof.mjs