Skip to content

Commit 26c86f0

Browse files
committed
minor #129 [Platform] Add missing Anthropic models (OskarStark)
This PR was squashed before being merged into the main branch. Discussion ---------- [Platform] Add missing Anthropic models | Q | A | ------------- | --- | Bug fix? | no | New feature? | yes | Docs? | no | Issues | Fix #128 | License | MIT Commits ------- 49c5bfe [Platform] Add missing Anthropic models
2 parents d8519d2 + 49c5bfe commit 26c86f0

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/platform/src/Bridge/Anthropic/Claude.php

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,15 @@
2020
class Claude extends Model
2121
{
2222
public const HAIKU_3 = 'claude-3-haiku-20240307';
23-
public const HAIKU_35 = 'claude-3-5-haiku-20241022';
23+
public const HAIKU_35 = 'claude-3-5-haiku-latest';
2424
public const SONNET_3 = 'claude-3-sonnet-20240229';
25-
public const SONNET_35 = 'claude-3-5-sonnet-20240620';
26-
public const SONNET_35_V2 = 'claude-3-5-sonnet-20241022';
27-
public const SONNET_37 = 'claude-3-7-sonnet-20250219';
25+
public const SONNET_35 = 'claude-3-5-sonnet-latest';
26+
public const SONNET_37 = 'claude-3-7-sonnet-latest';
27+
public const SONNET_4 = 'claude-sonnet-4-20250514';
28+
public const SONNET_4_0 = 'claude-sonnet-4-0';
2829
public const OPUS_3 = 'claude-3-opus-20240229';
30+
public const OPUS_4 = 'claude-opus-4-20250514';
31+
public const OPUS_4_0 = 'claude-opus-4-0';
2932

3033
/**
3134
* @param array<string, mixed> $options The default options for the model usage

0 commit comments

Comments
 (0)