Skip to content

Responses: towards compatibility with web search on other providers#724

Open
nahoj wants to merge 1 commit intojrkropp:alpha-previewfrom
nahoj:responses_provider_compat
Open

Responses: towards compatibility with web search on other providers#724
nahoj wants to merge 1 commit intojrkropp:alpha-previewfrom
nahoj:responses_provider_compat

Conversation

@nahoj
Copy link
Copy Markdown

@nahoj nahoj commented Nov 11, 2025

Hi.

You probably know that some providers, at least Groq and xAI, implement a Responses API largely compatible with OpenAI's.

In this PR, I propose 2 small tweaks that make it possible to disable 2 parameters of the web_search tool that are not supported by xAI, search_context_size and include: ["web_search_call.action.sources"]. The pipeline's default behavior doesn't change.

@nahoj nahoj force-pushed the responses_provider_compat branch from 2bd63dc to 4829f9b Compare November 19, 2025 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant