mid-conversation-effort-example changedbuild-with-claude/mid-conversation-effort-example
Nearest release: v2.1.280, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+9added
Lines−9removed
From line
37
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits16to this page, all time
The whole hunk
from line 37, old and new numbered
/
from line 37
3737
3838 client = anthropic.Anthropic()
3939
40 MODEL = "claude-opus-5"
40 MODEL = "claude-opus-5-5"
4141 EFFORT = "xhigh"
4242
4343 SYSTEM_PROMPT = "You are a helpful general-purpose agent. Answer the user's request directly."
from line 67
6767
6868 const client = new Anthropic();
6969
70 const MODEL = "claude-opus-5";
70 const MODEL = "claude-opus-5-5";
7171 const EFFORT = "xhigh";
7272
7373 const SYSTEM_PROMPT =
from line 95
9595
9696 AnthropicClient client = new();
9797
98 const Model model = Model.ClaudeOpus5;
98 const Model model = Model.ClaudeOpus5_5;
9999 var effort = Effort.Xhigh;
100100
101101 const string systemPrompt = "You are a helpful general-purpose agent. Answer the user's request directly.";
from line 141
141141 var client = anthropic.NewClient()
142142
143143 const (
144 modelID = anthropic.ModelClaudeOpus5
144 modelID = anthropic.ModelClaudeOpus5_5
145145 effort = anthropic.OutputConfigEffortXhigh
146146
147147 systemPrompt = "You are a helpful general-purpose agent. Answer the user's request directly."
from line 223
223223
224224 AnthropicClient client = AnthropicOkHttpClient.fromEnv();
225225
226 static final Model MODEL = Model.CLAUDE_OPUS_5;
226 static final Model MODEL = Model.CLAUDE_OPUS_5_5;
227227 static final boolean DOC_TEST_MODE =
228228 !Objects.requireNonNullElse(System.getenv("DOC_TEST_MODE"), "").isEmpty();
229229 static final OutputConfig.Effort EFFORT = OutputConfig.Effort.XHIGH;
from line 251
251251
252252 $client = new Client();
253253
254 const MODEL = 'claude-opus-5';
254 const MODEL = 'claude-opus-5-5';
255255 define('DOC_TEST_MODE', (string) getenv('DOC_TEST_MODE') !== '');
256256 const EFFORT = 'xhigh';
257257
from line 278
278278
279279 CLIENT = Anthropic::Client.new
280280
281 MODEL = "claude-opus-5"
281 MODEL = "claude-opus-5-5"
282282 EFFORT = :xhigh
283283
284284 SYSTEM_PROMPT = "You are a helpful general-purpose agent. Answer the user's request directly."
from line 2867
28672867 -H "content-type: application/json" \
28682868 -d @- <<'EOF'
28692869 {
2870 "model": "claude-opus-5",
2870 "model": "claude-opus-5-5",
28712871 "max_tokens": 64000,
28722872 "system": "You are a helpful general-purpose agent. Answer the user's request directly.",
28732873 "output_config": {"effort": "xhigh"},
from line 2910
29102910 # subagents is shown in the SDK tabs; the Workflow description is condensed here,
29112911 # the SDK examples carry the full standing-consent text.
29122912 ant messages create <<'YAML'
2913 model: claude-opus-5
2913 model: claude-opus-5-5
29142914 max_tokens: 64000
29152915 system: You are a helpful general-purpose agent. Answer the user's request directly.
29162916 output_config: {effort: xhigh}
No line in this hunk matches that.