[GH-ISSUE #4284] [langchain] ChatXAI documentation still references deprecated Live Search API #2794

Open
opened 2026-06-05 17:26:49 -04:00 by yindo · 0 comments
Owner

Originally created by @Maski0 on GitHub (Jun 3, 2026).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/4284

Type of issue

issue / bug

Language

Python

Description

Issue

The current ChatXAI documentation/examples for live search no longer work because the underlying xAI Live Search API has been deprecated.

When following the documented approach, requests fail with deprecation-related errors and search functionality does not work as expected.

Current Behavior

Using ChatXAI with the documented live search configuration results in errors indicating that the Live Search API is deprecated or unsupported.

Expected Behavior

The documentation should be updated to use xAI's current tool-calling framework instead of the deprecated Live Search API.

According to xAI's documentation, search capabilities are now provided through built-in tools such as web_search and x_search via the tools framework.

Reference:
https://docs.x.ai/developers/tools/overview

Originally created by @Maski0 on GitHub (Jun 3, 2026). Original GitHub issue: https://github.com/langchain-ai/docs/issues/4284 ### Type of issue issue / bug ### Language Python ### Description ## Issue The current ChatXAI documentation/examples for live search no longer work because the underlying xAI Live Search API has been deprecated. When following the documented approach, requests fail with deprecation-related errors and search functionality does not work as expected. ## Current Behavior Using ChatXAI with the documented live search configuration results in errors indicating that the Live Search API is deprecated or unsupported. ## Expected Behavior The documentation should be updated to use xAI's current tool-calling framework instead of the deprecated Live Search API. According to xAI's documentation, search capabilities are now provided through built-in tools such as web_search and x_search via the tools framework. Reference: https://docs.x.ai/developers/tools/overview
yindo added the langchainexternal labels 2026-06-05 17:26:49 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#2794