The whole hunk
from line 51, old and new numbered
/
lines
from line 51
5151 -H "x-api-key: $ANTHROPIC_API_KEY" \
5252 -H "anthropic-version: 2023-06-01" \
5353 -d '{
54 "model": "claude-opus-5",
54 "model": "claude-opus-5-5",
5555 "max_tokens": 1024,
5656 "system": "Always respond in French, regardless of the language the user writes in.",
5757 "messages": [
from line 62
6262
6363 ```bash CLI
6464 ant messages create \
65 --model claude-opus-5 \
65 --model claude-opus-5-5 \
6666 --max-tokens 1024 \
6767 --system "Always respond in French, regardless of the language the user writes in." \
6868 --message '{role: user, content: "How do I reset my password?"}'
from line 72
7272 client = anthropic.Anthropic()
7373
7474 message = client.messages.create(
75 model="claude-opus-5",
75 model="claude-opus-5-5",
7676 max_tokens=1024,
7777 system="Always respond in French, regardless of the language the user writes in.",
7878 messages=[{"role": "user", "content": "How do I reset my password?"}],
from line 85
8585 const client = new Anthropic();
8686
8787 const message = await client.messages.create({
88 model: "claude-opus-5",
88 model: "claude-opus-5-5",
8989 max_tokens: 1024,
9090 system: "Always respond in French, regardless of the language the user writes in.",
9191 messages: [{ role: "user", content: "How do I reset my password?" }]
from line 99
9999
100100 var parameters = new MessageCreateParams
101101 {
102 Model = Model.ClaudeOpus5,
102 Model = Model.ClaudeOpus5_5,
103103 MaxTokens = 1024,
104104 System = "Always respond in French, regardless of the language the user writes in.",
105105 Messages =
from line 116
116116 client := anthropic.NewClient()
117117
118118 message, err := client.Messages.New(context.TODO(), anthropic.MessageNewParams{
119 Model: anthropic.ModelClaudeOpus5,
119 Model: anthropic.ModelClaudeOpus5_5,
120120 MaxTokens: 1024,
121121 System: []anthropic.TextBlockParam{
122122 {Text: "Always respond in French, regardless of the language the user writes in."},
from line 135
135135 AnthropicClient client = AnthropicOkHttpClient.fromEnv();
136136
137137 MessageCreateParams params = MessageCreateParams.builder()
138 .model(Model.CLAUDE_OPUS_5)
138 .model(Model.CLAUDE_OPUS_5_5)
139139 .maxTokens(1024)
140140 .system("Always respond in French, regardless of the language the user writes in.")
141141 .addUserMessage("How do I reset my password?")
from line 153
153153 messages: [
154154 ['role' => 'user', 'content' => 'How do I reset my password?']
155155 ],
156 model: 'claude-opus-5',
156 model: 'claude-opus-5-5',
157157 system: 'Always respond in French, regardless of the language the user writes in.',
158158 );
159159
from line 164
164164 client = Anthropic::Client.new
165165
166166 message = client.messages.create(
167 model: "claude-opus-5",
167 model: "claude-opus-5-5",
168168 max_tokens: 1024,
169169 system: "Always respond in French, regardless of the language the user writes in.",
170170 messages: [