Skip to content

Commit

Permalink
feat(api): add new haiku model (#731)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and RobertCraigie committed Nov 4, 2024
1 parent 7f897e2 commit 77eaaf9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 10
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic-e8bdc849debd3d8ffb45d5a1cdc6be04d52f37f8b519fc6c184b78907477cd92.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic-25f83d91f601c1962b3701fedf829f678f306aca0758af286ee1586cc9931f75.yml
2 changes: 2 additions & 0 deletions src/anthropic/types/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
Model: TypeAlias = Union[
str,
Literal[
"claude-3-5-haiku-latest",
"claude-3-5-haiku-20241022",
"claude-3-5-sonnet-latest",
"claude-3-5-sonnet-20241022",
"claude-3-5-sonnet-20240620",
Expand Down
2 changes: 2 additions & 0 deletions src/anthropic/types/model_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
ModelParam: TypeAlias = Union[
str,
Literal[
"claude-3-5-haiku-latest",
"claude-3-5-haiku-20241022",
"claude-3-5-sonnet-latest",
"claude-3-5-sonnet-20241022",
"claude-3-5-sonnet-20240620",
Expand Down

0 comments on commit 77eaaf9

Please sign in to comment.