pypi / langchain-perplexity
langchain-perplexity
What changed in langchain-perplexity 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-12.
5 new APIs and options1 behavior and defaults11 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initlangchain-perplexity 117 changes
New APIs and options 5
Package version tracking was added to tracing metadata.
Adds bind_tools and Responses-API tool round-trip support.
Adds the use_responses_api flag to ChatPerplexity.
Adds PerplexityEmbeddings for using Perplexity embeddings through the integration.
A dedicated output parser supports reasoning model output for Perplexity.
Behavior and default changes 1
Overhauls the integration to use the official SDK and Search API.
Fixes and other changes 11
Preserves search results returned by the Agent API.
Maps Responses API cache tokens into input_token_details.
Emits search_context_size once per stream in _astream.
Caller-provided extra_body is preserved.
The package version trace metadata was renamed.
The integration now uses a supported Responses API model.
Responses input items now include type="message".
Fixes serialization of AIMessage.tool_calls.
Fixes serialization of ToolMessage.
Usage metadata now includes all keys.
Python 3.14 is supported.