Skip to content

Conversation

@WRCoding
Copy link
Contributor

In the current version 1.0.0-SNAPSHOT, AnthropicChatModel does not provide a constructor with two parameters. If there are only two parameters, you should use Builder to construct AnthropicChatModel. The current document misleads users and needs to be updated.

 In the current version 1.0.0-SNAPSHOT, AnthropicChatModel does not provide a constructor with two parameters. If there are only two parameters, you should use Builder to construct AnthropicChatModel. The current document misleads users and needs to be updated. 

Signed-off-by: Lpepsi <[email protected]>
@WRCoding
Copy link
Contributor Author

image That's the way it's written in the current document.

@WRCoding
Copy link
Contributor Author

image Constructor methods provided in AnthropicChatModel

@sobychacko sobychacko added documentation Improvements or additions to documentation for: backport-to-1.0.x labels Jul 2, 2025
@sobychacko sobychacko added this to the 1.1.x milestone Jul 2, 2025
@sobychacko sobychacko merged commit 61c32ae into spring-projects:main Jul 2, 2025
1 check passed
spring-builds pushed a commit that referenced this pull request Jul 2, 2025
AnthropicChatModel does not provide a constructor with two parameters.
If there are two parameters, use the Builder to construct an AnthropicChatModel.
The current document misleads users and needs to be updated.

Fixes #2723

Signed-off-by: Lpepsi <[email protected]>
(cherry picked from commit 61c32ae)
scionaltera pushed a commit to scionaltera/spring-ai that referenced this pull request Sep 3, 2025
AnthropicChatModel does not provide a constructor with two parameters. 
If there are two parameters, use the Builder to construct an AnthropicChatModel. 
The current document misleads users and needs to be updated.

Fixes spring-projects#2723

Auto-cherry-pick to 1.0.x

Signed-off-by: Lpepsi <[email protected]>
chedim pushed a commit to couchbaselabs/spring-ai that referenced this pull request Sep 19, 2025
AnthropicChatModel does not provide a constructor with two parameters. 
If there are two parameters, use the Builder to construct an AnthropicChatModel. 
The current document misleads users and needs to be updated.

Fixes spring-projects#2723

Auto-cherry-pick to 1.0.x

Signed-off-by: Lpepsi <[email protected]>
Willam2004 pushed a commit to Willam2004/spring-ai that referenced this pull request Oct 11, 2025
AnthropicChatModel does not provide a constructor with two parameters.
If there are two parameters, use the Builder to construct an AnthropicChatModel.
The current document misleads users and needs to be updated.

Fixes spring-projects#2723

Auto-cherry-pick to 1.0.x

Signed-off-by: Lpepsi <[email protected]>
Signed-off-by: 家娃 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation for: backport-to-1.0.x status: backported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants