You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Anthropic hosted web_search options are not mapped onto Grok #123
Hosted search with allowed_domains returns HTTP 400. Grok is not called.
Claude Code presents the proxy error as a tool_result for the original WebSearch tool use, with is_error: true.
On the next assistant turn, the model retries the same topic without allowed_domains.
Those calls return search results.
Expected
The proxy maps Anthropic hosted-search options onto Grok where Grok has a matching field.
When Grok cannot enforce an option, the search still completes in one round. The request does not fail only for Claude Code to retry without the constraint.
Status: A fix is running in the fork AlexanderKugel/claude-code-proxy. A pull request will follow.
changed the title [-]Grok hosted web search constraints cause a proxy 400, after which Claude Code retries without them[/-][+]Anthropic hosted web_search options are not mapped onto Grok[/+]on Sep 21, 2026
Activity
[-]Grok hosted web search constraints cause a proxy 400, after which Claude Code retries without them[/-][+]Anthropic hosted web_search options are not mapped onto Grok[/+]