mid-conversation-effort-example changedbuild-with-claude/mid-conversation-effort-example
Nearest release: v2.1.309, 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+4added
Lines−5removed
From line
132
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits13to this page, all time
The whole hunk
from line 132, old and new numbered
/
from line 132
132132 "sync"
133133 "time"
134134
135 "github.com/anthropics/anthropic-sdk-go"
135 "github.com/anthropics/anthropic-sdk-go/v2"
136136 )
137137
138138 var client = anthropic.NewClient()
from line 3330
33303330 // full mode text on entry, or a one-line refresher every turnsBetweenRefreshers user turns.
33313331 func (agent *modeAgent) dueSystemMessages() []anthropic.MessageParam {
33323332 systemMessage := func(content string) anthropic.MessageParam {
3333 return anthropic.MessageParam{
3334 Role: anthropic.MessageParamRoleSystem,
3335 Content: []anthropic.ContentBlockParamUnion{anthropic.NewTextBlock(content)},
3336 }
3333 return anthropic.MessageParam{OfSystem: &anthropic.SystemMessageParam{
3334 Content: []anthropic.TextBlockParam{{Text: content}},
3335 }}
33373336 }
33383337 var due []anthropic.MessageParam
33393338 if agent.exitPending {
No line in this hunk matches that.