Files
CLIProxyAPI/internal/runtime/executor
Yuri Trukhin bbfd7886ee fix(xai): drop web_search options the Responses API rejects
OpenAI Responses clients can attach search_context_size to the web_search
tool. The xAI Responses API rejects that option with HTTP 400 "Argument not
supported: search_context_size", which fails the whole turn on grok models.

Strip every web_search option xAI rejects (external_web_access and
search_context_size) through one table, and keep forwarding the options it
accepts: filters, user_location and search_content_types.
2026-10-15 05:20:24 +02:00
..