mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-11-20 07:52:52 +08:00
326b394be0
The Anthropic -> Responses bridge rejected any non-empty WebSearch `blocked_domains` with a 400 before reaching the upstream, on the assumption that Responses only had an allow-list. The Responses `web_search` tool now documents `filters.blocked_domains`, so the local error blocked requests that the upstream can serve. On API-key Responses routes, the non-empty deny-list is now passed unchanged in the same `filters` object as `allowed_domains`; empty or missing lists are still omitted. The ChatGPT Codex OAuth backend does not document a deny-list, so that route keeps failing closed with an explicit error rather than risking a silently broader search. The routing guides are updated in all three languages. Refs #8979