pypi / langchain-deepseek
langchain-deepseek
What changed in langchain-deepseek 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-22.
3 new APIs and options4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initlangchain-deepseek 17 changes
New APIs and options 3
Accepts base_url as an alias for api_base when configuring DeepSeek.
Adds content-block-centric streaming (v2), giving developers a new streaming interface.
Adds support for strict beta structured output through with_structured_output.
Fixes and other changes 4
Prompt cache hit tokens are mapped to cache_read.
Strict mode is routed to the beta endpoint.
Uses proper URL parsing to detect Azure endpoints.
Sets Tool Choice to required for Azure Deployments when a specific function dict is given.