Files
magpie/internal/catalog
yetone 9f678458b9 catalog: ask a relay for its chat models without the anthropic header
OpenRouter serves a second, namespaced catalogue from /v1/models as
soon as it sees anthropic-version, so sending that header on the chat
fetch cached ids like anthropic/xiaomi/mimo-v2.6-pro-ultraspeed[1m]
that the chat endpoint then rejected. Send it only when the fetch is
for the Anthropic protocol, where the official API requires it.
2026-09-24 02:27:06 +08:00
..