feat(anthropic): support Claude Haiku 5.5 by hntrl · Pull Request #41140 · langchain-ai/langchain · GitHub
Skip to content

feat(anthropic): support Claude Haiku 5.5 - #41140

Draft
Hunter Lovell (hntrl) wants to merge 1 commit into
masterfrom
hntrl/anthropic/haiku-5-5
Draft

Hunter Lovell (hntrl) wants to merge 1 commit into
masterfrom
hntrl/anthropic/haiku-5-5

Conversation

@hntrl

Copy link
Copy Markdown
Member

Claude Haiku 5.5 enables adaptive thinking by default and permits forced tool calls. Keep streamed thinking blocks intact for replay and preserve forced tool choices for bind_tools and function-calling structured output.

  • Require anthropic>=1.12.0,<2.0.0 and refresh the SDK lock.
  • Validate Haiku's adaptive-thinking, effort, and sampling restrictions without changing defaults or Python profiles.
  • Cover sync/async replay, redacted thinking, forced tools, and structured-output request configuration.

Compatibility follows the official migration guide. Live API verification is unavailable without credentials. Applications should revisit output budgets and keep preserved-thinking conversations append-only within the originating account.

Release note

Support Claude Haiku 5.5 adaptive thinking, preserve streamed thinking for conversation replay, and allow forced structured output with adaptive thinking.

AI-assisted contribution.

References

Made by Open SWE · view thread · openai:gpt-6.1-sol (high)

Update the Anthropic SDK and support Haiku adaptive thinking, forced tool calls, and thinking replay from streamed responses.

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
@github-actions github-actions Bot added anthropic `langchain-anthropic` package issues & PRs dependencies Pull requests that update a dependency file (e.g. `pyproject.toml` or `uv.lock`) feature For PRs that implement a new feature; NOT A FEATURE REQUEST integration PR made that is related to a provider partner package integration internal size: M 200-499 LOC labels Oct 7, 2026
@socket-security

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

anthropic `langchain-anthropic` package issues & PRs dependencies Pull requests that update a dependency file (e.g. `pyproject.toml` or `uv.lock`) feature For PRs that implement a new feature; NOT A FEATURE REQUEST integration PR made that is related to a provider partner package integration internal size: M 200-499 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant