feat(anthropic): add support for claude-opus-4 and claude-sonnet-4 (#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>
This commit is contained in:
committed by
Ilayaperumal Gopinathan
parent
be79b892a5
commit
b34dcbf0c7
@@ -241,6 +241,16 @@ public final class AnthropicApi {
|
||||
public enum ChatModel implements ChatModelDescription {
|
||||
|
||||
// @formatter:off
|
||||
/**
|
||||
* The claude-opus-4-0 model.
|
||||
*/
|
||||
CLAUDE_OPUS_4("claude-opus-4-0"),
|
||||
|
||||
/**
|
||||
* The claude-sonnet-4-0 model.
|
||||
*/
|
||||
CLAUDE_SONNET_4("claude-sonnet-4-0"),
|
||||
|
||||
/**
|
||||
* The claude-3-7-sonnet-latest model.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user