Skip to content

Commit 58ecb84

Browse files
dsp-antclaude
andcommitted
Revert model name changes from 9b02aaf
Partially revert commit 9b02aaf which accidentally changed model references from claude-sonnet-4-20250514 back to claude-3-5-sonnet-20241022 across documentation. This restores the correct Claude Sonnet 4 model references in: - docs/docs/develop/build-client.mdx - docs/docs/learn/client-concepts.mdx - docs/tutorials/building-a-client-node.mdx The other changes in 9b02aaf (blog post, .gitignore, go.mod) remain intact. Note: Typos and grammar issues from 9b02aaf were already fixed in later commits. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 3face10 commit 58ecb84

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

docs/docs/develop/build-client.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ async def process_query(self, query: str) -> str:
178178

179179
# Initial Claude API call
180180
response = self.anthropic.messages.create(
181-
model="claude-3-5-sonnet-20241022",
181+
model="claude-sonnet-4-20250514",
182182
max_tokens=1000,
183183
messages=messages,
184184
tools=available_tools
@@ -218,7 +218,7 @@ async def process_query(self, query: str) -> str:
218218

219219
# Get next response from Claude
220220
response = self.anthropic.messages.create(
221-
model="claude-3-5-sonnet-20241022",
221+
model="claude-sonnet-4-20250514",
222222
max_tokens=1000,
223223
messages=messages,
224224
tools=available_tools
@@ -647,7 +647,7 @@ async processQuery(query: string) {
647647
];
648648

649649
const response = await this.anthropic.messages.create({
650-
model: "claude-3-5-sonnet-20241022",
650+
model: "claude-sonnet-4-20250514",
651651
max_tokens: 1000,
652652
messages,
653653
tools: this.tools,
@@ -676,7 +676,7 @@ async processQuery(query: string) {
676676
});
677677

678678
const response = await this.anthropic.messages.create({
679-
model: "claude-3-5-sonnet-20241022",
679+
model: "claude-sonnet-4-20250514",
680680
max_tokens: 1000,
681681
messages,
682682
});
@@ -1230,7 +1230,7 @@ Now let's add the core functionality for processing queries and handling tool ca
12301230

12311231
```kotlin
12321232
private val messageParamsBuilder: MessageCreateParams.Builder = MessageCreateParams.builder()
1233-
.model(Model.CLAUDE_3_5_SONNET_20241022)
1233+
.model(Model.CLAUDE_SONNET_4_20250514)
12341234
.maxTokens(1024)
12351235
12361236
suspend fun processQuery(query: String): String {
@@ -1565,7 +1565,7 @@ using var anthropicClient = new AnthropicClient(new APIAuthentication(builder.Co
15651565
var options = new ChatOptions
15661566
{
15671567
MaxOutputTokens = 1000,
1568-
ModelId = "claude-3-5-sonnet-20241022",
1568+
ModelId = "claude-sonnet-4-20250514",
15691569
Tools = [.. tools]
15701570
};
15711571

docs/docs/learn/client-concepts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ The flow ensures security through multiple human-in-the-loop checkpoints. Users
203203
],
204204
modelPreferences: {
205205
hints: [{
206-
name: "claude-3-5-sonnet" // Suggested model
206+
name: "claude-sonnet-4-20250514" // Suggested model
207207
}],
208208
costPriority: 0.3, // Less concerned about API cost
209209
speedPriority: 0.2, // Can wait for thorough analysis

docs/tutorials/building-a-client-node.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ Now add the core functionality for processing queries and handling tool calls:
192192

193193
const finalText: string[] = [];
194194
let currentResponse = await this.anthropic.messages.create({
195-
model: "claude-3-5-sonnet-20241022",
195+
model: "claude-sonnet-4-20250514",
196196
max_tokens: 1000,
197197
messages,
198198
tools: availableTools,
@@ -246,7 +246,7 @@ Now add the core functionality for processing queries and handling tool calls:
246246

247247
// Get next response from Claude with tool results
248248
currentResponse = await this.anthropic.messages.create({
249-
model: "claude-3-5-sonnet-20241022",
249+
model: "claude-sonnet-4-20250514",
250250
max_tokens: 1000,
251251
messages,
252252
tools: availableTools,

0 commit comments

Comments
 (0)