Skip to content

Releases

langchain-litellm: v0.11.2

Choose a tag to compare

@github-actions github-actions released this 25 Oct 18:04
Immutable release. Only release title and notes can be modified.
b7810d5

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

Full Changelog: langchain-litellm==0.11.1...langchain-litellm==0.11.2

langchain-litellm: v0.11.1

Choose a tag to compare

@github-actions github-actions released this 14 Oct 14:08
Immutable release. Only release title and notes can be modified.
628282d

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

Full Changelog: langchain-litellm==0.11.0...langchain-litellm==0.11.1

langchain-litellm: v0.11.0

Choose a tag to compare

@github-actions github-actions released this 30 Sep 22:48
Immutable release. Only release title and notes can be modified.
04de378

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

Full Changelog: langchain-litellm==0.10.0...langchain-litellm==0.11.0

langchain-litellm: v0.10.0

Choose a tag to compare

@github-actions github-actions released this 27 Sep 19:57
Immutable release. Only release title and notes can be modified.
823498b

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, which ChatLiteLLM ignored, now sends calls to the Responses API, where litellm drops Chat Completions-only params such as stop, n and seed, and raises ValueError for a model litellm cannot bridge; ChatLiteLLMRouter raises ValueError for it. Drop the flag to stay on Chat Completions.

Features

  • chat_models: route calls through the Responses API with use_responses_api (#301) (2a7a4a2)

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

New Contributors

Full Changelog: langchain-litellm==0.9.0...langchain-litellm==0.10.0

langchain-litellm: v0.9.0

Choose a tag to compare

@github-actions github-actions released this 24 Sep 21:18
Immutable release. Only release title and notes can be modified.
b252125

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

Full Changelog: langchain-litellm==0.8.1...langchain-litellm==0.9.0

langchain-litellm: v0.8.1

Choose a tag to compare

@github-actions github-actions released this 24 Sep 20:45
Immutable release. Only release title and notes can be modified.
d4444d6

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

Full Changelog: langchain-litellm==0.8.0...langchain-litellm==0.8.1

langchain-litellm: v0.8.0

Choose a tag to compare

@github-actions github-actions released this 23 Sep 05:09
Immutable release. Only release title and notes can be modified.
d9f6e24

0.8.0 (2026-09-23)

âš  BREAKING CHANGES

  • chat_models: .stream() and .astream() now stream incrementally on an instance that did not pass streaming=True. They previously returned the whole response as a single chunk, because the default streaming=False was recorded as an explicit opt-out. Code that assumed one chunk per call, or that expected astream_events to emit a single on_chat_model_stream, now receives one per token. Pass streaming=False explicitly to keep the previous behaviour.
  • embeddings: LiteLLMEmbeddings rejects unknown constructor kwargs rather than discarding them. timeout, max_tokens, client and streaming were accepted and ignored; use the declared request_timeout, or pass provider values through model_kwargs.
  • chat_models: ChatLiteLLMRouter no longer copies litellm's router metadata into response_metadata. Read response_cost instead of hidden_params.response_cost, and model_id instead of hidden_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_info and original_model_group are 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_url as an alias for api_base in ChatLiteLLM (#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

New Contributors

Full Changelog: langchain-litellm==0.7.2...langchain-litellm==0.8.0

langchain-litellm: v0.7.2

Choose a tag to compare

@github-actions github-actions released this 16 Sep 21:11
Immutable release. Only release title and notes can be modified.
05cd7d0

0.7.2 (2026-09-16)

Bug Fixes

  • deps: drop the unused cryptography dependency (#267) (8aa4fc6)

What's Changed

Full Changelog: langchain-litellm==0.7.1...langchain-litellm==0.7.2

langchain-litellm: v0.7.1

Choose a tag to compare

@github-actions github-actions released this 31 Aug 17:15
Immutable release. Only release title and notes can be modified.
50bfbac

0.7.1 (2026-08-31)

Bug Fixes

What's Changed

New Contributors

Full Changelog: langchain-litellm==0.7.0...langchain-litellm==0.7.1

langchain-litellm: v0.7.0

Choose a tag to compare

@github-actions github-actions released this 15 Jun 10:00
8e492db

0.7.0 (2026-06-15)

Features

  • langchain-litellm: record package version in model metadata (#192) (1c0dcf3)

What's Changed

Full Changelog: langchain-litellm==0.6.6...langchain-litellm==0.7.0