Repository navigation
Releases
Releases · langchain-ai/langchain-litellm
langchain-litellm: v0.11.2
Immutable
release. Only release title and notes can be modified.
0.11.2 (2026-10-25)
Bug Fixes
- deps: explain the litellm 1.106.2 floor and 1.107.0 exclusion (#384) (9407fc7)
- deps: relax third-party bounds and harden LiteLLM (#378) (5f99fc6)
What's Changed
- build(deps): bump the github-actions group with 3 updates by Dependabot (@dependabot)[bot] in #367
- build(deps): bump the python-deps group with 6 updates by Dependabot (@dependabot)[bot] in #366
- build(deps): bump aiohttp from 3.14.3 to 3.14.4 in the python-security group across 1 directory by Dependabot (@dependabot)[bot] in #373
- build(deps): bump the github-actions group with 3 updates by Dependabot (@dependabot)[bot] in #375
- build(deps): bump certifi from 2026.1.4 to 2026.10.19 in the python-security group across 1 directory by Dependabot (@dependabot)[bot] in #377
- fix(deps): relax third-party bounds and harden LiteLLM by Mason Daugherty (@mdrxy) in #378
- build(deps): bump the python-deps group across 1 directory with 3 updates by Dependabot (@dependabot)[bot] in #381
- docs: end the README's Contributing section at the guide link by Akshay Dongare (@Akshay-Dongare) in #383
- fix(deps): explain the litellm 1.106.2 floor and 1.107.0 exclusion by Akshay Dongare (@Akshay-Dongare) in #384
- chore(main): release langchain-litellm 0.11.2 by @github-actions[bot] in #380
Full Changelog: langchain-litellm==0.11.1...langchain-litellm==0.11.2
langchain-litellm: v0.11.1
Immutable
release. Only release title and notes can be modified.
0.11.1 (2026-10-14)
Bug Fixes
- deps: declare the Python 3.14 floors for pydantic and typing-extensions (#346) (b01226d)
- litellm: keepy replaying thinking blocks stored before the first-party key from #364 (#365) (41d904b)
- litellm: replay thinking across router fallbacks (#364) (ce91aa9)
What's Changed
- fix(deps): declare the Python 3.14 floors for pydantic and typing-extensions by Akshay Dongare (@Akshay-Dongare) in #346
- ci: test the declared dependency floors by Akshay Dongare (@Akshay-Dongare) in #347
- ci(codeql): document why this workflow cannot clear Code Quality's gate by Akshay Dongare (@Akshay-Dongare) in #350
- build(deps): bump tornado, click and pygments to patched releases by Akshay Dongare (@Akshay-Dongare) in #352
- ci(sort-imports): sort a pull request's imports when a maintainer runs it by Akshay Dongare (@Akshay-Dongare) in #353
- build(deps): bump the python-deps group with 6 updates by Dependabot (@dependabot)[bot] in #358
- build(deps): bump the python-security group across 1 directory with 3 updates by Dependabot (@dependabot)[bot] in #359
- fix(litellm): replay thinking across router fallbacks by ccurme (@ccurme) in #364
- fix(litellm): keepy replaying thinking blocks stored before the first-party key from #364 by ccurme (@ccurme) in #365
- chore(main): release langchain-litellm 0.11.1 by @github-actions[bot] in #348
Full Changelog: langchain-litellm==0.11.0...langchain-litellm==0.11.1
langchain-litellm: v0.11.0
Immutable
release. Only release title and notes can be modified.
0.11.0 (2026-09-30)
âš BREAKING CHANGES
- chat_models: a streamed reply carries response-level provider_specific_fields, including Vertex grounding metadata, in response_metadata rather than additional_kwargs, as invoke does. Read message.response_metadata["provider_specific_fields"] on both paths.
- LiteLLMEmbeddingsRouter raises ValueError for a set api_base or base_url, which it used to accept and silently ignore. Configure the endpoint on the Router deployment instead.
Features
- chat_models: carry Responses API reasoning items across turns (#318) (53bce51), closes #303
- chat_models: make use_responses_api on ChatLiteLLMRouter a check (#333) (892fae6), closes #324
- chat_models: surface url_citation annotations on replies (#325) (1efb90a), closes #304
Bug Fixes
- chat_models: report a Router stream's real cost after a fallback (#341) (03694b2)
- chat_models: stream response-level provider_specific_fields in response_metadata (#342) (f94c52e)
- deps: raise the pydantic and typing-extensions floors to installable ones (#345) (9ac3bef)
- deps: require litellm 1.101.0 for a streamed reply's cost (#339) (5bf9edd)
- document_loaders: read null page dimensions as absent in LiteLLMOCRLoader (#332) (86bf2b5), closes #331
- standardize endpoint URL handling (#320) (513a3af), closes #288
What's Changed
- test(chat_models): add cache_write_tokens to the Responses API usage fixture by Akshay Dongare (@Akshay-Dongare) in #321
- feat(chat_models): carry Responses API reasoning items across turns by Akshay Dongare (@Akshay-Dongare) in #318
- fix!: standardize endpoint URL handling by @dineshjakhad in #320
- build(deps): bump the github-actions group with 3 updates by Dependabot (@dependabot)[bot] in #326
- build(deps): bump the python-deps group with 6 updates by Dependabot (@dependabot)[bot] in #327
- feat(chat_models): surface url_citation annotations on replies by Akshay Dongare (@Akshay-Dongare) in #325
- fix(document_loaders): read null page dimensions as absent in LiteLLMOCRLoader by Akshay Dongare (@Akshay-Dongare) in #332
- feat(chat_models): make use_responses_api on ChatLiteLLMRouter a check by Akshay Dongare (@Akshay-Dongare) in #333
- fix(deps): require litellm 1.101.0 for a streamed reply's cost by Akshay Dongare (@Akshay-Dongare) in #339
- build(deps): bump urllib3 from 2.7.0 to 2.8.0 in the python-security group across 1 directory by Dependabot (@dependabot)[bot] in #340
- fix(chat_models)!: stream response-level provider_specific_fields in response_metadata by Akshay Dongare (@Akshay-Dongare) in #342
- fix(chat_models): report a Router stream's real cost after a fallback by Akshay Dongare (@Akshay-Dongare) in #341
- fix(deps): raise the pydantic and typing-extensions floors to installable ones by Akshay Dongare (@Akshay-Dongare) in #345
- chore(main): release langchain-litellm 0.11.0 by @github-actions[bot] in #322
Full Changelog: langchain-litellm==0.10.0...langchain-litellm==0.11.0
langchain-litellm: v0.10.0
Immutable
release. Only release title and notes can be modified.
0.10.0 (2026-09-27)
âš BREAKING CHANGES
- chat_models: a tool_choice string other than auto, none, required or any is read as a tool name and must name a bound function tool, or bind_tools raises ValueError. On mistral/, codestral/ and Vertex AI Mistral models a tool name no longer forces a tool call, since litellm drops the function choice there; pass "required" to keep forcing. On Claude, a tool name is now forced even where a forced tool is refused. The downgrade to "auto" sees only manual thinking known when bind_tools runs, on a model it can tell is Claude, so it misses thinking or reasoning_effort passed at invoke time; a model named through litellm.model_alias_map or a Router model_group_alias; thinking that a wildcard Router deployment or a Router fallback adds; and a LiteLLM proxy that adds thinking or makes it from reasoning_effort. Opus 5.5, Fable 5.1 and Mythos 5.1 refuse a forced tool even without thinking. Pass "auto" in all of these cases.
- chat_models:
use_responses_api=True, whichChatLiteLLMignored, now sends calls to the Responses API, where litellm drops Chat Completions-only params such asstop,nandseed, and raisesValueErrorfor a model litellm cannot bridge;ChatLiteLLMRouterraisesValueErrorfor it. Drop the flag to stay on Chat Completions.
Features
Bug Fixes
- chat_models: downgrade a forced tool_choice wherever thinking is manual (#313) (079aa08)
- chat_models: drop normalized reasoning blocks from outbound content (#317) (496c863)
- chat_models: force the tool a string tool_choice names (#311) (cad44b6)
- chat_models: rejoin a reply litellm splits across choices (#307) (a6fe164)
- chat_models: replay signed thinking blocks to the endpoint that signed them (#300) (5cfd986)
- chat_models: stop bind_tools raising KeyError on a dict tool_choice (#310) (9db3498)
What's Changed
- chore: adopt ruff 0.16's default rule set, pinned by full code by Akshay Dongare (@Akshay-Dongare) in #297
- chore: install the locked ruff with a plain uv sync by Akshay Dongare (@Akshay-Dongare) in #299
- fix(chat_models): rejoin a reply litellm splits across choices by Akshay Dongare (@Akshay-Dongare) in #307
- feat(chat_models)!: route calls through the Responses API with use_responses_api by Akshay Dongare (@Akshay-Dongare) in #301
- fix(chat_models): replay signed thinking blocks to the endpoint that signed them by Akshay Dongare (@Akshay-Dongare) in #300
- docs(chat_models): show how ChatLiteLLMRouter reaches OpenAI's built-in tools by Akshay Dongare (@Akshay-Dongare) in #309
- fix(chat_models): stop bind_tools raising KeyError on a dict tool_choice by Akshay Dongare (@Akshay-Dongare) in #310
- fix(chat_models)!: force the tool a string tool_choice names by Akshay Dongare (@Akshay-Dongare) in #311
- fix(chat_models): downgrade a forced tool_choice wherever thinking is manual by Akshay Dongare (@Akshay-Dongare) in #313
- fix(chat_models): drop normalized reasoning blocks from outbound content by Feng Xiao (@iam-xiaofeng) in #317
- chore(main): release langchain-litellm 0.10.0 by @github-actions[bot] in #308
New Contributors
- Feng Xiao (@iam-xiaofeng) made their first contribution in #317
Full Changelog: langchain-litellm==0.9.0...langchain-litellm==0.10.0
langchain-litellm: v0.9.0
Immutable
release. Only release title and notes can be modified.
0.9.0 (2026-09-24)
âš BREAKING CHANGES
- langchain-litellm now requires Python 3.11 or later. Stay on langchain-litellm 0.8.x to keep using Python 3.10.
Features
- drop support for Python 3.10 (3d75c58)
What's Changed
- feat!: drop support for Python 3.10 by Akshay Dongare (@Akshay-Dongare) in #293
- ci: test on Python 3.14 by Akshay Dongare (@Akshay-Dongare) in #296
- chore(main): release langchain-litellm 0.9.0 by @github-actions[bot] in #295
Full Changelog: langchain-litellm==0.8.1...langchain-litellm==0.9.0
langchain-litellm: v0.8.1
Immutable
release. Only release title and notes can be modified.
0.8.1 (2026-09-24)
Bug Fixes
- chat_models: preserve file metadata after normalization (#289) (46abd65)
- deps: exclude litellm releases that fail to import on Python 3.10 (#290) (092b466)
What's Changed
- docs(changelog): reconstruct the history before 0.6.0 by Akshay Dongare (@Akshay-Dongare) in #285
- ci(release): fail when a releasable commit is missing from the notes by Akshay Dongare (@Akshay-Dongare) in #286
- fix(chat_models): preserve file metadata after normalization by @dineshjakhad in #289
- fix(deps): exclude litellm releases that fail to import on Python 3.10 by Akshay Dongare (@Akshay-Dongare) in #290
- chore(main): release langchain-litellm 0.8.1 by @github-actions[bot] in #291
Full Changelog: langchain-litellm==0.8.0...langchain-litellm==0.8.1
langchain-litellm: v0.8.0
Immutable
release. Only release title and notes can be modified.
0.8.0 (2026-09-23)
âš BREAKING CHANGES
- chat_models:
.stream()and.astream()now stream incrementally on an instance that did not passstreaming=True. They previously returned the whole response as a single chunk, because the defaultstreaming=Falsewas recorded as an explicit opt-out. Code that assumed one chunk per call, or that expectedastream_eventsto emit a singleon_chat_model_stream, now receives one per token. Passstreaming=Falseexplicitly to keep the previous behaviour. - embeddings:
LiteLLMEmbeddingsrejects unknown constructor kwargs rather than discarding them.timeout,max_tokens,clientandstreamingwere accepted and ignored; use the declaredrequest_timeout, or pass provider values throughmodel_kwargs. - chat_models:
ChatLiteLLMRouterno longer copies litellm's router metadata intoresponse_metadata. Readresponse_costinstead ofhidden_params.response_cost, andmodel_idinstead ofhidden_params.model_id; both are now present on the streaming paths too, where none of these keys ever appeared.api_base,attempted_fallbacks,attempted_retries,caching_groups,deployment,deployment_model_name,hidden_params,max_retries,model_group,model_group_alias,model_group_size,model_infoandoriginal_model_groupare gone with no replacement.
Features
- chat_models: surface the response cost in response_metadata (#281) (5d04bb8)
- make .stream() stream, honour embeddings retries, and stop dropping credentials (#272) (08cc7be)
Bug Fixes
- accept
base_urlas an alias forapi_baseinChatLiteLLM(#200) (14d8c07) - accept base_url for LiteLLM embeddings (#203) (e5b2e5e)
- chat_models: forward provider-specific api_key fields to litellm (#261) (b57c1e4)
- chat_models: honor per-call model override in _get_ls_params (#248) (c2d4fec)
- chat_models: include top_p and top_k in _default_params (#233) (a03a841)
- chat_models: name a streamed cost once (#284) (919944d)
- chat_models: omit top_p and top_k when the caller left them unset (#278) (e0c222e)
- chat_models: report unparsable tool-call arguments as invalid (#260) (c93299f)
- chat_models: stop echoing an unparsable tool call back to the provider (#279) (a3bf8ec)
- chat_models: stop injecting thinking blocks into AIMessage.content (#244) (a47db29)
- chat_models: stop republishing litellm's router bookkeeping (#283) (c568593)
- chat_models: surface finish_reason in streamed response_metadata (#241) (b0ca0c3)
- deps: declare pydantic and typing-extensions (#280) (57ae70e)
- router: honour max_retries in ChatLiteLLMRouter (#262) (dd8b4f1)
What's Changed
- fix(chat_models): include top_p and top_k in _default_params by Ashutosh Dongare (@AshutoshDongare) in #233
- test(chat_models): pin that top_p and top_k default to None by SpiliosDmk (@SpiliosDimakopoulos) in #240
- fix: accept base_url for LiteLLM embeddings by Bing Gao (@binggao1230) in #203
- fix: accept base_url as an alias for api_base in ChatLiteLLM by Tiago Ferreira (@tcferreira) in #200
- fix(chat_models): stop injecting thinking blocks into AIMessage.content by Benjamin Silva (@bssilva06) in #244
- fix(chat_models): report unparsable tool-call arguments as invalid by Shyamji Pandey (@ShyamRV) in #260
- fix(router): honour max_retries in ChatLiteLLMRouter by @dineshjakhad in #262
- build(deps): bump anyio from 4.12.1 to 4.14.2 in the python-security group across 1 directory by Dependabot (@dependabot)[bot] in #273
- docs(readme): point activity badges at the canonical repo by Akshay Dongare (@Akshay-Dongare) in #274
- docs(pyproject): add a maintainer link to the PyPI project URLs by Akshay Dongare (@Akshay-Dongare) in #275
- fix(chat_models): honor per-call model override in _get_ls_params by Shyamji Pandey (@ShyamRV) in #248
- build(deps): bump the github-actions group with 2 updates by Dependabot (@dependabot)[bot] in #276
- build(deps-dev): bump the python-deps group with 2 updates by Dependabot (@dependabot)[bot] in #277
- feat!: make .stream() stream, honour embeddings retries, and stop dropping credentials by Akshay Dongare (@Akshay-Dongare) in #272
- fix(chat_models): forward provider-specific api_key fields to litellm by Shyamji Pandey (@ShyamRV) in #261
- fix(chat_models): omit top_p and top_k when the caller left them unset by Akshay Dongare (@Akshay-Dongare) in #278
- fix(chat_models): stop echoing an unparsable tool call back to the provider by Akshay Dongare (@Akshay-Dongare) in #279
- fix(chat_models): surface finish_reason in streamed response_metadata by SpiliosDmk (@SpiliosDimakopoulos) in #241
- fix(deps): declare pydantic and typing-extensions by Akshay Dongare (@Akshay-Dongare) in #280
- feat(chat_models): surface the response cost in response_metadata by Akshay Dongare (@Akshay-Dongare) in #281
- fix(chat_models)!: stop republishing litellm's router bookkeeping by Akshay Dongare (@Akshay-Dongare) in #283
- fix(chat_models): name a streamed cost once by Akshay Dongare (@Akshay-Dongare) in #284
- chore(main): release langchain-litellm 0.8.0 by @github-actions[bot] in #270
New Contributors
- SpiliosDmk (@SpiliosDimakopoulos) made their first contribution in #240
- Bing Gao (@binggao1230) made their first contribution in #203
- Tiago Ferreira (@tcferreira) made their first contribution in #200
- Benjamin Silva (@bssilva06) made their first contribution in #244
- @dineshjakhad made their first contribution in #262
Full Changelog: langchain-litellm==0.7.2...langchain-litellm==0.8.0
langchain-litellm: v0.7.2
Immutable
release. Only release title and notes can be modified.
0.7.2 (2026-09-16)
Bug Fixes
What's Changed
- build(deps): bump tornado from 6.5.7 to 6.5.8 in the python-security group across 1 directory by Dependabot (@dependabot)[bot] in #258
- chore(lint): select a minimal ruff rule set by Shyamji Pandey (@ShyamRV) in #254
- ci: run lint, type and spell checks on every pull request by Akshay Dongare (@Akshay-Dongare) in #266
- chore(github): move issue and PR templates into .github by Shyamji Pandey (@ShyamRV) in #253
- build(deps): bump the python-deps group across 1 directory with 11 updates by Dependabot (@dependabot)[bot] in #264
- build(deps): bump the github-actions group across 1 directory with 3 updates by Dependabot (@dependabot)[bot] in #237
- chore(scripts): replace load_module() in check_imports, removed in Python 3.15 by Shyamji Pandey (@ShyamRV) in #259
- chore(makefile): repair lint_diff and format_diff after the repo extraction by Shyamji Pandey (@ShyamRV) in #255
- fix(deps): drop the unused cryptography dependency by Akshay Dongare (@Akshay-Dongare) in #267
- test(scripts): cover check_imports against shadowing and the deprecated loader by Akshay Dongare (@Akshay-Dongare) in #268
- chore(main): release langchain-litellm 0.7.2 by @github-actions[bot] in #269
Full Changelog: langchain-litellm==0.7.1...langchain-litellm==0.7.2
langchain-litellm: v0.7.1
Immutable
release. Only release title and notes can be modified.
0.7.1 (2026-08-31)
Bug Fixes
What's Changed
- ci(release): gate PyPI publish via environment instead of draft releases by Akshay Dongare (@Akshay-Dongare) in #195
- build(deps): bump the python-deps group with 5 updates by Dependabot (@dependabot)[bot] in #196
- build(deps): bump the python-security group across 1 directory with 2 updates by Dependabot (@dependabot)[bot] in #198
- chore(deps): bump langchain to 1.3.10 by Akshay Dongare (@Akshay-Dongare) in #199
- ci(codeql): Add CodeQL analysis workflow by Akshay Dongare (@Akshay-Dongare) in #206
- ci(codeql): switch to advanced setup to support fork PRs by Akshay Dongare (@Akshay-Dongare) in #205
- build(deps): bump the python-security group across 1 directory with 2 updates by Dependabot (@dependabot)[bot] in #207
- build(deps): bump the python-deps group with 3 updates by Dependabot (@dependabot)[bot] in #210
- build(deps): bump actions/checkout from 6.0.3 to 7.0.0 in the github-actions group by Dependabot (@dependabot)[bot] in #209
- build(deps): bump langgraph-checkpoint from 4.1.0 to 4.1.1 in the python-security group across 1 directory by Dependabot (@dependabot)[bot] in #211
- build(deps): bump the python-deps group with 3 updates by Dependabot (@dependabot)[bot] in #214
- build(deps): bump actions/setup-python from 6.2.0 to 6.3.0 in the github-actions group by Dependabot (@dependabot)[bot] in #213
- build(deps): bump the github-actions group with 3 updates by Dependabot (@dependabot)[bot] in #219
- build(deps): bump the python-deps group across 1 directory with 7 updates by Dependabot (@dependabot)[bot] in #221
- build(deps): bump the github-actions group with 5 updates by Dependabot (@dependabot)[bot] in #227
- build(deps): bump the python-deps group across 1 directory with 5 updates by Dependabot (@dependabot)[bot] in #229
- build(deps): bump the python-security group across 1 directory with 2 updates by Dependabot (@dependabot)[bot] in #230
- fix(litellm): bump langchain-core by ccurme (@ccurme) in #245
- chore(main): release langchain-litellm 0.7.1 by @github-actions[bot] in #246
New Contributors
- ccurme (@ccurme) made their first contribution in #245
Full Changelog: langchain-litellm==0.7.0...langchain-litellm==0.7.1
langchain-litellm: v0.7.0
0.7.0 (2026-06-15)
Features
What's Changed
- ci: switch CodeQL to advanced setup with manual trigger by Akshay Dongare (@Akshay-Dongare) in #164
- ci(release): switch to human-in-the-loop PyPI publish via draft releases by Akshay Dongare (@Akshay-Dongare) in #162
- Delete .github/workflows/codeql.yml by Akshay Dongare (@Akshay-Dongare) in #165
- ci: add PR title conventional commits lint by Akshay Dongare (@Akshay-Dongare) in #163
- build(deps): bump the python-deps group with 5 updates by Dependabot (@dependabot)[bot] in #166
- ci(deps): pin GitHub Actions to full commit SHAs by Akshay Dongare (@Akshay-Dongare) in #167
- test: enable has_structured_output and supports_image_inputs in standard test suites by Akshay Dongare (@Akshay-Dongare) in #168
- test: enable supports_json_mode in standard test suites by Akshay Dongare (@Akshay-Dongare) in #169
- test: rename factory helpers to avoid PytestReturnNotNoneWarning by Akshay Dongare (@Akshay-Dongare) in #170
- ci(pr-title-lint): remove warn-on-bypass job and bypass mechanism by Akshay Dongare (@Akshay-Dongare) in #171
- docs: replace generic wrapper descriptions in module docstrings by Akshay Dongare (@Akshay-Dongare) in #172
- docs: fix stale and inaccurate docstrings across chat model and embedding modules by Akshay Dongare (@Akshay-Dongare) in #173
- refactor: hoist litellm import to module level in _create_retry_decor… by Akshay Dongare (@Akshay-Dongare) in #174
- refactor: remove unreachable ImportError guard in validate_environment by Akshay Dongare (@Akshay-Dongare) in #175
- ci: pin "CI" github workflow steps to full commit SHAs by Akshay Dongare (@Akshay-Dongare) in #176
- docs: port advanced features section to docs.langchain.com by Akshay Dongare (@Akshay-Dongare) in #177
- docs: rm -rf docs because ported to https://docs.langchain.com/ by Akshay Dongare (@Akshay-Dongare) in #178
- build(deps): bump aiohttp from 3.13.4 to 3.14.0 in the python-security group across 1 directory by Dependabot (@dependabot)[bot] in #180
- build(deps): bump the github-actions group with 2 updates by Dependabot (@dependabot)[bot] in #181
- build(deps): bump the python-deps group with 3 updates by Dependabot (@dependabot)[bot] in #182
- ci: add PR labeler for CC type and breaking labels by Akshay Dongare (@Akshay-Dongare) in #183
- refactor: add missing type annotations and fix mypy override errors by Akshay Dongare (@Akshay-Dongare) in #185
- chore(tests): remove unused imports from unit test files by Akshay Dongare (@Akshay-Dongare) in #188
- build(deps): bump the python-deps group with 3 updates by Dependabot (@dependabot)[bot] in #190
- feat(langchain-litellm): record package version in model metadata by Mason Daugherty (@mdrxy) in #192
- build(deps): bump tornado from 6.5.5 to 6.5.6 in the python-security group across 1 directory by Dependabot (@dependabot)[bot] in #191
- chore(main): release langchain-litellm 0.7.0 by @github-actions[bot] in #193
Full Changelog: langchain-litellm==0.6.6...langchain-litellm==0.7.0