mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-24 08:20:23 +00:00
- 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. |
||
|---|---|---|
| .. | ||
| code-mode-namespace-live-docker.sh | ||
| code-mode-namespace-live-scenario.sh | ||
| code-mode-namespace-live.ts | ||
| issue-95198-openrouter-short-model.mts | ||
| limit-edge-case-live-proof.mjs | ||
| tsx-name-repro.ts | ||
| webchat-auto-tts-live-proof.mjs | ||