You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ const anthropic = new Anthropic();
100
100
asyncfunction main() {
101
101
const stream =anthropic.messages
102
102
.stream({
103
-
model: 'claude-3-5-sonnet-latest',
103
+
model: 'claude-sonnet-4-20250514',
104
104
max_tokens: 1024,
105
105
messages: [
106
106
{
@@ -126,7 +126,7 @@ Alternatively, you can use `client.messages.create({ ..., stream: true })` which
126
126
127
127
## Message Batches
128
128
129
-
This SDK provides beta support for the [Message Batches API](https://docs.anthropic.com/en/docs/build-with-claude/message-batches) under the `client.beta.messages.batches` namespace.
129
+
This SDK provides beta support for the [Message Batches API](https://docs.anthropic.com/en/docs/build-with-claude/message-batches) under the `client.messages.batches` namespace.
0 commit comments