Skip to content

Commit da69f9d

Browse files
authored
Update anthropic model name (#8992)
Signed-off-by: TomuHirata <[email protected]>
1 parent aaadf05 commit da69f9d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Instead of wrangling prompts or training jobs, DSPy (Declarative Self-improving
4040

4141
```python linenums="1"
4242
import dspy
43-
lm = dspy.LM("anthropic/claude-3-opus-20240229", api_key="YOUR_ANTHROPIC_API_KEY")
43+
lm = dspy.LM("anthropic/claude-sonnet-4-5-20250929", api_key="YOUR_ANTHROPIC_API_KEY")
4444
dspy.configure(lm=lm)
4545
```
4646

docs/docs/learn/programming/language_models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dspy.configure(lm=lm)
3737

3838
```python linenums="1"
3939
import dspy
40-
lm = dspy.LM('anthropic/claude-3-opus-20240229', api_key='YOUR_ANTHROPIC_API_KEY')
40+
lm = dspy.LM('anthropic/claude-sonnet-4-5-20250929', api_key='YOUR_ANTHROPIC_API_KEY')
4141
dspy.configure(lm=lm)
4242
```
4343

docs/docs/tutorials/cache/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ import os
6060

6161
os.environ["ANTHROPIC_API_KEY"] = "{your_anthropic_key}"
6262
lm = dspy.LM(
63-
"anthropic/claude-3-5-sonnet-20240620",
63+
"anthropic/claude-sonnet-4-5-20250929",
6464
cache_control_injection_points=[
6565
{
6666
"location": "message",

0 commit comments

Comments
 (0)