Skip to content

docs(search): document xAI Live Search (x_search) as a search provider - #1392

Open
deepanshululla wants to merge 1 commit into
BerriAI:mainfrom
deepanshululla:docs/xai-search-api-provider
Open

docs(search): document xAI Live Search (x_search) as a search provider#1392
deepanshululla wants to merge 1 commit into
BerriAI:mainfrom
deepanshululla:docs/xai-search-api-provider

Conversation

@deepanshululla

Copy link
Copy Markdown
Contributor

Documents SearchProviders.XAI added in BerriAI/litellm#40289.

Adds docs/search/xai.md:

  • Setup (XAI_API_KEY, api_base, model override)
  • x_search filter params (allowed_x_handles, excluded_x_handles, from_date, to_date, enable_image_understanding, enable_video_understanding)
  • Unified parameter mapping (max_results caps the returned citations; the rest are ignored, no equivalent)
  • Response format and the shared-snippet-across-citations behavior
  • Cost (xAI's own reported cost preferred, token cost plus a per-citation surcharge as fallback) and credential-leak protection notes

Also lists xai alongside the other search providers in docs/search/index.md and sidebars.js.

Verified with npm run build locally; no new broken links or anchors on the edited pages.

Adds docs/search/xai.md for SearchProviders.XAI (litellm/pull/40289):
setup, x_search filter params, model override, unified param mapping,
response format, and cost/credential notes. Lists xai alongside the
other providers in docs/search/index.md and sidebars.js.
@vercel

vercel Bot commented Sep 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
litellm Ready Ready Preview Sep 9, 2026 1:54pm UTC

Request Review

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