LangChain Perplexity 1.4.2 fixes Agent API search handling

News AI Agent Infrastructure

  • This release refreshes the model profile data.
  • It fixes handling so search results from Perplexity's Agent API are retained.
  • For the Responses API, cache-token counts are mapped to `input_token_details`.
  • Streaming now emits `search_context_size` only once per stream.
  • The update also changes several dependencies and fixes dependency declarations in some partner packages.

Our take

Applications using Perplexity through LangChain can check whether they can remove local workarounds for retaining Agent API results or filling in cache-token details. The release notes do not specify compatibility changes or whether the refreshed profiles affect model selection, so test those points in the application’s own setup.

Sources

  1. langchain-perplexity==1.4.2 · LangChain Releases

The summary and analysis were generated by AI. The original sources are authoritative. AI content policy