vominh1919
7141cda967
fix: narrow Anthropic adapter dot-mangling to Claude models only
...
The normalize_model_name() function unconditionally converted dots to
hyphens in all model names. This caused non-Anthropic models (e.g.
gpt-5.4) to be mangled to gpt-5-4 when routed through the Anthropic
adapter path, resulting in HTTP 404 from the backend.
Now only applies dot-to-hyphen conversion for models starting with
"claude-" or "anthropic/", which are the actual Anthropic model IDs.
Fixes NousResearch/hermes-agent#17171
Related: #7421 , #13061 , #16417
2026-04-29 06:34:57 -07:00
..
2026-04-29 03:55:03 -07:00
2026-02-21 22:31:43 -08:00
2026-04-21 01:56:35 -07:00
2026-04-29 06:34:57 -07:00
2026-04-29 06:10:23 -07:00
2026-04-28 03:53:11 -07:00
2026-04-25 18:22:06 -07:00
2026-04-28 01:57:21 -07:00
2026-04-24 02:55:43 -07:00
2026-04-20 01:56:41 -07:00
2026-04-24 05:09:08 -07:00
2026-04-28 06:46:45 -07:00
2026-04-28 06:46:45 -07:00
2026-04-28 23:23:11 -07:00
2026-04-28 01:57:21 -07:00
2026-04-28 04:58:09 -07:00
2026-04-21 01:31:58 -07:00
2026-04-28 06:46:45 -07:00
2026-04-24 05:35:17 -07:00
2026-04-28 06:46:45 -07:00
2026-04-28 06:46:45 -07:00
2026-04-28 06:46:45 -07:00
2026-04-21 21:30:10 -07:00
2026-04-21 21:30:10 -07:00
2026-04-27 06:27:59 -07:00
2026-04-20 05:25:49 -07:00
2026-04-28 12:27:36 -07:00
2026-04-10 21:16:53 -07:00
2026-04-29 04:57:22 -07:00
2026-04-29 04:57:22 -07:00
2026-04-28 12:27:36 -07:00
2026-04-23 01:59:20 -07:00
2026-04-23 16:11:57 -07:00
2026-04-28 04:58:22 -07:00
2026-04-26 20:57:26 -07:00
2026-04-28 05:37:50 -07:00
2026-03-21 16:54:43 -07:00
2026-04-13 16:32:04 -07:00
2026-04-28 21:04:35 -07:00
2026-04-08 00:41:36 -07:00
2026-04-28 04:58:22 -07:00
2026-04-26 08:44:58 -07:00
2026-04-24 15:15:07 -07:00
2026-04-28 22:29:09 -07:00
2026-04-09 03:10:30 -07:00
2026-04-28 01:47:25 -07:00
2026-02-21 22:31:43 -08:00
2026-04-29 04:56:50 -07:00