Initial release
fix: openai, anthropic (v1) fix core lower bound (#32724)
release: anthropic, openai 1.0.0a1 (#32723)
chore: (v1) drop support for python 3.9 (#32712)
feat: standard content, IDs, translators, & normalization (#32569)
Merge branch 'master' into wip-v1.0
chore: adress pytest-asyncio deprecation warnings + other nits (#32696)
fix(core): (v1) update BaseChatModel return type to AIMessage (#32626)
fix(anthropic): update cassette for streaming benchmark (#32609)
Merge branch 'master' of github.com:langchain-ai/langchain into wip-v1.0
release(anthropic): 0.3.19 (#32595)
chore: update references to use the latest version of Claude-3.5 Sonnet (#32594)
fix(anthropic): correct input_token
count for streaming (#32591)
fix(anthropic): clean up null file_id
fields in citations during message formatting (#32592)
revert(anthropic): streaming token counting to defer input tokens until completion (#32587)
fix(anthropic): sanitize tool use block when taking directly from content (#32574)
fix(anthropic): streaming token counting to defer input tokens until completion (#32518)
feat(anthropic): dynamic mapping of Max Tokens for Anthropic (#31946)
fix(anthropic): Add proxy (#32409)
feat(anthropic): support cache_control
as a kwarg (#31523)
fix(anthropic): update test model names and adjust token count assertions in integration tests (#32422)
docs(anthropic): add documentation for extended context windows in Claude Sonnet 4 (#32517)
feat: port various nit changes from wip-v0.4
(#32506)
release(anthropic): 0.3.18 (#32292)
refactor(anthropic): AnthropicLLM to use Messages API (#32290)
refactor: remove references to unsupported model claude-3-sonnet-20240229
(#32281)
feat(docs): improve devx, fix Makefile
targets (#32237)
fix: LLM mimicking Unicode responses due to forced Unicode conversion of non-ASCII characters. (#32222)
fix(docs): capitalization, codeblock formatting, and hyperlinks, note blocks (#32235)
docs(openai): add comprehensive documentation and examples for extra_body
+ others (#32149)
fix(anthropic): update integration test models (#32189)
fix(anthropic): fix test (#32145)
ruff: restore stacklevels, disable autofixing (#31919)
ruff: add bugbear across packages (#31917)
huggingface[patch]: ruff fixes and rules (#31912)
anthropic[patch]: ruff fixes and rules (#31899)
ruff: more rules across the board & fixes (#31898)
fix: automatically fix issues with ruff (#31897)
anthropic[patch]: pass back in citations in multi-turn conversations (#31882)
Revert "infra: temporarily skip tests" (#31854)
infra: temporarily skip tests (#31853)
anthropic: release 0.3.17 (#31852)
docs: anthropic formatting cleanup (#31847)
langchain-anthropic[patch]: Add ruff bandit rules (#31789)
anthropic: release 0.3.16 (#31744)
anthropic[patch]: cache clients (#31659)
anthropic[patch]: add benchmark (#31718)
docs: document Anthropic cache TTL count details (#31708)
anthropic[patch]: cache tokens nit (#31484)
infra: relax types-requests version range (#31504)
anthropic[fix]: bump langchain-core dep (#31483)
release[anthropic]: 0.3.15 (#31479)
infra: remove use of --vcr-record=none (#31452)
standard-tests: migrate to pytest-recording (#31425)
standard-tests: add benchmarks (#31302)
anthropic: store cache ttl details on usage metadata (#31393)
anthropic: release 0.3.14 (#31378)
anthropic: support for code execution, MCP connector, files API features (#31340)
anthropic: emit informative error message if there are only system messages in a prompt (#30822)
docs: add web search to anthropic docs (#31169)
anthropic[patch]: split test into two (#31167)
anthropic: release 0.3.13 (#31162)
anthropic: update streaming usage metadata (#31158)
anthropic[patch]: support web search (#31157)
anthropic[patch]: be robust to null fields when translating usage metadata (#31151)
anthropic: Allow kwargs to pass through when counting tokens (#31082)
packaging: remove Python upper bound for langchain and co libs (#31025)
anthropic[patch]: make description optional on AnthropicTool (#30935)
partners: ChatAnthropic supports urls (#30809)
anthropic: release 0.3.12 (#30907)
multiple: permit optional fields on multimodal content blocks (#30887)
anthropic: release 0.3.11 (#30857)
multiple: multi-modal content blocks (#30746)
partners[lint]: run pyupgrade
to get code in line with 3.9 standards (#30781)
infra: handle flaky tests (#30501)
anthropic: release 0.3.10 (#30287)
anthropic: support built-in tools, improve docs (#30274)
core[patch]: update structured output tracing (#30123)
anthropic[patch]: add PDF input example to API reference (#30156)
core, openai, standard-tests: improve OpenAI compatibility with Anthropic content blocks (#30128)
anthropic[patch]: release 0.3.9 (#30103)
anthropic[patch]: allow structured output when thinking is enabled (#30047)
anthropic, mistral: return model_name
in response metadata (#30048)
docs: document anthropic features (#30030)
anthropic[patch]: release 0.3.8 (#29973)
anthropic[patch]: support claude 3.7 sonnet (#29971)
anthropic[patch]: update models for integration tests (#29938)
core: basemessage.text() (#29078)
multiple: fix uv path deps (#29790)
anthropic: release 0.3.7 (#29653)
infra: add UV_FROZEN to makefiles (#29642)
infra: migrate to uv (#29566)
anthropic[patch]: release 0.3.6 (#29606)
anthropic[patch]: support citations in streaming (#29591)
partners/anthropic: release 0.3.5 (#29486)
multiple: structured output tracing standard metadata (#29421)
anthropic[patch]: release 0.3.4 (#29399)
anthropic[patch]: always return content blocks if citations are generated (#29398)
[Doc] Improve api doc (#29324)
anthropic[patch]: update tool choice type (#29276)
anthropic[patch]: release 0.3.2 (#29275)
anthropic[patch]: support parallel_tool_calls
(#29257)
anthropic: pydantic mypy plugin (#29144)
anthropic: pdf integration test (#29142)
multiple: disable socket for unit tests (#29080)
Revert "integrations[patch]: remove non-required chat param defaults" (#29048)
integrations[patch]: remove non-required chat param defaults (#26730)
core,anthropic[patch]: fix with_structured_output typing (#28950)
anthropic: less pydantic for client (#28823)
anthropic: sdk bump (#28820)
partners/anthropic: release 0.3.1 (#28801)
anthropic[patch]: increase timeouts for integration tests (#28767)
anthropic: timeout in tests (10s) (#28488)
multiple: push deprecation removals to 1.0 (#28236)
standard-tests: rename langchain_standard_tests to langchain_tests, release 0.3.2 (#28203)
multiple: langchain-standard-tests -> langchain-tests (#28139)
anthropic[patch]: add examples to API ref (#28065)
anthropic[major]: release 0.3.0 (#28063)
anthropic[major]: support python 3.13 (#27916)
anthropic[patch]: remove retired model from tests (#27965)
integrations[patch]: bump core to 0.3.15 (#27805)
anthropic[patch]: allow multiple sys not at start (#27725)
core[patch]: add convert_to_openai_messages util (#27263)
multiple: rely on asyncio_mode auto in tests (#27200)
[Anthropic] Shallow Copy (#27105)
docs: fix anthropic max_tokens docstring (#27166)
anthropic[patch]: Release 0.2.3 (#27126)
anthropic[patch]: fix input_tokens when cached (#27125)
standard-tests[patch]: fix oai usage metadata test (#27122)
anthropic[patch]: Release 0.2.2 (#27118)
anthropic[patch]: correctly handle tool msg with empty list (#27109)
core,integrations[minor]: Dont error on fields in model_kwargs (#27110)
anthropic[patch]: add usage_metadata details (#27087)
anthropic[patch]: Release 0.2.1 (#26592)
anthropic[patch]: fix tool call and tool res image_url handling (#26587)
docs: anthropic api ref nit (#26591)
partners/anthropic: release 0.2.0 (#26469)
partners/anthropic: release 0.3.0 (#26466)
multiple: pydantic 2 compatibility, v0.3 (#26443)
standard-tests[patch]: add Ser/Des test
all: Improve make lint command (#25344)
core, partners: implement standard tracing params for LLMs (#25410)
core[minor], anthropic[patch]: Upgrade @root_validator usage to be consistent with pydantic 2 (#25457)
anthropic[patch]: Release 0.1.23 (#25394)
patch[Partners] Unified fix of incorrect variable declarations in all check_imports (#25014)
integrations[patch]: release model packages (#24900)
core[patch], integrations[patch]: convert TypedDict to tool schema support (#24641)
core[patch]: introduce ToolMessage.status (#24628)
integration releases (#24725)
all: add release notes to pypi (#24519)
core,groq,openai,mistralai,robocorp,fireworks,anthropic[patch]: Update BaseModel subclass and instance checks to handle both v1 and proper namespaces (#24417)
anthropic[patch]: Release 0.1.20 (#24204)
integrations[patch]: require core >=0.2.17 (#24207)
core[minor], integrations...[patch]: Support ToolCall as Tool input and ToolMessage as Tool output (#24038)
infra: update mypy 1.10, ruff 0.5 (#23721)
anthropic[patch]: Release 0.1.19 (#23783)
anthropic[patch]: expose payload (#23291)
anthropic[patch]: release 0.1.18 (#23778)
anthropic[patch]: fix model name in some integration tests (#23779)
anthropic[patch]: tool output parser fix (#23647)
anthropic[patch]: use core output parsers for structured output (#23776)
langchain_anthropic: add stop_reason in ChatAnthropic stream result (#23689)
standard-tests[patch]: add anthropic format integration test (#23717)
anthropic[patch]: Release 0.1.17 (#23650)
openai, anthropic, ...: with_structured_output to pass in explicit tool choice (#23645)
anthropic[patch]: Release 0.1.16 (#23549)
anthropic[patch]: test image input (#23155)
anthropic: docstrings (#23145)
openai[patch], standard-tests[patch]: don't pass in falsey stop vals (#23153)
standard-tests[patch]: Update chat model standard tests (#22378)
anthropic[minor]: Adds streaming tool call support for Anthropic (#22687)
anthropic[patch]: always add tool_result type to ToolMessage content (#22721)
anthropic: refactor streaming to use events api; add streaming usage metadata (#22628)
anthropic: update attribute name and alias (#22625)
multiple: add stop
attribute (#22573)
Revert "anthropic: stream token usage" (#22624)
anthropic: stream token usage (#20180)
docs: update anthropic chat model (#22483)
infra: bump anthropic mypy 1 (#22373)
anthropic[patch]: Release 0.1.15, fix sdk tools break (#22369)
anthropic: release 0.1.14rc2, test release note gen (#22147)
anthropic[patch]: allow tool call mutation (#22130)
docs: fix some spelling mistakes caught by newest version of code spell (#22090)
anthropic, openai: cut pre-releases (#22083)
core, partners: add token usage attribute to AIMessage (#21944)
infra: rm unused # noqa violations (#22049)
Revert "anthropic: set default model" (#21987)
anthropic: set default model (#21986)
partners: bump core in packages implementing ls_params (#21868)
core, standard tests, partner packages: add test for model params (#21677)
anthropic[patch]: Release 0.1.13, tool_choice support (#21773)
multiple: releases with relaxed core dep (#21724)
multiple: core 0.2 nonbreaking dep, check_diff community->langchain dep (#21646)
partners[anthropic]: update unit test for key passed in from the environment (#21290)
(all): update removal in deprecation warnings from 0.2 to 0.3 (#21265)
anthropic[patch]: add tests for secret_str for api key (#20986)
patch: remove usage of llm, chat model call (#20788)
docs, multiple: de-beta with_structured_output (#20850)
anthropic[patch]: fix msg mutation (#20572)
anthropic[patch]: Release 0.1.10 (#20568)
anthropic[patch]: Handle empty text block (#20566)
anthropic[patch]: serialization in partner package (#18828)
anthropic[patch]: bump to core 0.1.43 (#20537)
anthropic[patch]: release 0.1.9, use tool calls if content is empty (#20535)
anthropic[patch]: env ANTHROPIC_API_URL not work (#20507)
docs: update tool use case (#20404)
multiple: standard chat model tests (#20359)
release anthropic, fireworks, openai, groq, mistral (#20333)
infra, multiple: rc release versions (#20252)
anthropic[patch]: Pre-release 0.1.8-rc.1 (#20250)
core[minor], ...: add tool calls message (#18947)
anthropic[patch]: Release 0.1.7 (#20240)
community: add request_timeout and max_retries to ChatAnthropic (#19402)
anthropic[patch]: standardize init args (#20161)
partners[anthropic]: fix anthropic chat model message type lookup keys (#19034)
docs: anthropic tool docstring (#20091)
anthropic[patch]: Release 0.1.6 (#20026)
anthropic[patch]: use anthropic 0.23 (#20022)
anthropic[patch]: fix experimental tests (#20021)
anthropic[patch]: bump core dep (#20019)
anthropic[minor]: tool use (#20016)
docs: update docstring of the ChatAnthropic and AnthropicLLM classes (#18649)
anthropic[patch]: fix response metadata type (#19683)
anthropic[patch]: update base_url of anthropic (#18634)
community[patch]: update AnthropicLLM deprecation message (#18869)
anthropic[patch]: integration test update (#18823)
anthropic[patch]: add kwargs to format_output base (#18715)
anthropic[patch]: release 0.1.4 (#18822)
anthropic[patch]: streaming param (#18819)
anthropic[patch]: fix format output args (#18816)
anthropic[patch]: handle lists in function calling (#18609)
anthropic[patch]: fix argument integration test (#18605)
anthropic[minor]: add tool calling (#18554)
anthropic[patch]: model type string (#18510)
anthropic[patch]: multimodal (#18517)
docs: update to docstrings of ChatAnthropic class (#18493)
anthropic[minor]: claude 3 (#18508)
langchain_anthropic[patch]: Invoke callback prior to yielding token (#18274)
anthropic[minor]: package move (#17974)
docs: langchain-anthropic README updates (#17684)
anthropic[patch]: de-beta anthropic messages, release 0.0.2 (#17540)
partners: version constraints (#17492)
infra: add print rule to ruff (#16221)
infra, multiple: Upgrade configuration for Ruff v0.2.0 (#16905)
anthropic[patch]: Fix message type lookup in Anthropic Partners (#16563)
anthropic[patch]: allow pop by field name (#16544)
partners: add license field (#16117)
multiple[patch]: .post releases and pyproject metadata (#15962)
Fix: fix partners name typo in tests (#15066)
anthropic: beta messages integration (#14928)