Skip to content

Conversation

@yu-iskw
Copy link
Contributor

@yu-iskw yu-iskw commented Dec 8, 2025

Fixes # (issue)

Benefits of ChatAnthropicInput Type for LangChain Users

1. Full Type Safety and IntelliSense

Users get complete TypeScript type checking and IDE autocomplete for all ChatAnthropic configuration options, including both Anthropic-specific parameters (temperature, maxTokens, model, etc.) and base LangChain parameters (maxRetries, timeout, callbacks, etc.).

2. Configuration Separation

Allows users to define configuration objects independently from ChatAnthropic instantiation, enabling cleaner code organization:

@changeset-bot
Copy link

changeset-bot bot commented Dec 8, 2025

🦋 Changeset detected

Latest commit: c7695b3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@langchain/anthropic Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Signed-off-by: Yu Ishikawa <[email protected]>
@yu-iskw yu-iskw marked this pull request as ready for review December 8, 2025 08:05
Copy link
Member

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@yu-iskw
Copy link
Contributor Author

yu-iskw commented Dec 8, 2025

@christian-bromann Thank you for quickly looking into this. I look forward to the release.

@hntrl hntrl merged commit e9a7adc into langchain-ai:main Dec 9, 2025
32 checks passed
christian-bromann pushed a commit that referenced this pull request Dec 9, 2025
jonghwanhyeon pushed a commit to jonghwanhyeon/langchainjs that referenced this pull request Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants