mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-23 12:08:11 +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.