Skip to content

feat(anthropic): add support for claude-opus-4 and claude-sonnet-4#3351

Merged
ilayaperumalg merged 2 commits intospring-projects:mainfrom
apappascs:feat/anthropic-add-claude-4-models
May 30, 2025
Merged

feat(anthropic): add support for claude-opus-4 and claude-sonnet-4#3351
ilayaperumalg merged 2 commits intospring-projects:mainfrom
apappascs:feat/anthropic-add-claude-4-models

Conversation

@apappascs
Copy link
Contributor

  • Introduce CLAUDE_OPUS_4 and CLAUDE_SONNET_4 to ChatModel enum
  • Update documentation to include new model options

…0 models

- Introduce `CLAUDE_OPUS_4` and `CLAUDE_SONNET_4` to `ChatModel` enum
- Update documentation to include new model options

Signed-off-by: Alexandros Pappas <apappascs@gmail.com>
@markpollack
Copy link
Member

Thanks!

also nice to include a link to https://docs.anthropic.com/en/docs/about-claude/models/overview#model-aliases somewhere in the docs.

@apappascs
Copy link
Contributor Author

Thanks!

also nice to include a link to https://docs.anthropic.com/en/docs/about-claude/models/overview#model-aliases somewhere in the docs.

That's a good idea I will update accordingly

Signed-off-by: Alexandros Pappas <apappascs@gmail.com>
@ilayaperumalg
Copy link
Member

@apappascs Thanks for the PR and polishing the documentation!

@ilayaperumalg ilayaperumalg merged commit 71e56fb into spring-projects:main May 30, 2025
2 checks passed
ilayaperumalg pushed a commit that referenced this pull request May 30, 2025
…3351)

* feat(anthropic): add support for claude-opus-4-0 and claude-sonnet-4-0 models

- Introduce `CLAUDE_OPUS_4` and `CLAUDE_SONNET_4` to `ChatModel` enum
- Update documentation to include new model options

Signed-off-by: Alexandros Pappas <apappascs@gmail.com>

* add model aliases url to anthropic documentation

Signed-off-by: Alexandros Pappas <apappascs@gmail.com>

---------

Signed-off-by: Alexandros Pappas <apappascs@gmail.com>
@ilayaperumalg
Copy link
Member

Back-ported into 1.0.x via b34dcbf

namsoo2 pushed a commit to namsoo2/spring-ai that referenced this pull request Jun 9, 2025
…pring-projects#3351)

* feat(anthropic): add support for claude-opus-4-0 and claude-sonnet-4-0 models

- Introduce `CLAUDE_OPUS_4` and `CLAUDE_SONNET_4` to `ChatModel` enum
- Update documentation to include new model options

Signed-off-by: Alexandros Pappas <apappascs@gmail.com>

* add model aliases url to anthropic documentation

Signed-off-by: Alexandros Pappas <apappascs@gmail.com>

---------

Signed-off-by: Alexandros Pappas <apappascs@gmail.com>
Signed-off-by: minsoo.nam <minsoo.nam@linecorp.com>
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