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: js/plugins/anthropic/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
## Supported models
10
10
11
-
The plugin supports the most recent Anthropic models: **Claude Sonnet 4.5**, **Claude Opus 4.1**, **Claude Haiku 4.5**, **Claude Sonnet 4**, **Claude Opus 4**, **Claude 3.5 Haiku**, and **Claude 3 Haiku**.
11
+
The plugin supports the most recent Anthropic models: **Claude Haiku 4.5**, **Claude Sonnet 4.5**, and **Claude Opus 4.5**. Additionally, the plugin supports all of the [non-retired older models](https://platform.claude.com/docs/en/about-claude/model-deprecations#model-status).
12
12
13
13
## Installation
14
14
@@ -39,7 +39,7 @@ The simplest way to generate text is by using the `generate` method:
39
39
40
40
```typescript
41
41
const response =awaitai.generate({
42
-
model: anthropic.model('claude-3-haiku'),
42
+
model: anthropic.model('claude-haiku-4-5'),
43
43
prompt: 'Tell me a joke.',
44
44
});
45
45
@@ -62,7 +62,7 @@ console.log(response.text);
62
62
63
63
### Extended thinking
64
64
65
-
Claude 4 models can expose their internal reasoning. Enable it per-request with the Anthropic thinking config and read the reasoning from the response:
65
+
Claude 4.5 models can expose their internal reasoning. Enable it per-request with the Anthropic thinking config and read the reasoning from the response:
66
66
67
67
```typescript
68
68
const response =awaitai.generate({
@@ -146,9 +146,9 @@ You can also create model references using the plugin's `model()` method:
0 commit comments