Skip to content

Commit 1cbab1a

Browse files
docs: update examples
1 parent cc480ed commit 1cbab1a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

betamessage_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func TestBetaMessageCountTokensWithOptionalParams(t *testing.T) {
208208
}},
209209
Role: anthropic.BetaMessageParamRoleUser,
210210
}},
211-
Model: anthropic.ModelClaudeMythosPreview,
211+
Model: anthropic.ModelClaudeOpus4_6,
212212
CacheControl: anthropic.BetaCacheControlEphemeralParam{
213213
TTL: anthropic.BetaCacheControlEphemeralTTLTTL5m,
214214
},

message_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func TestMessageCountTokensWithOptionalParams(t *testing.T) {
164164
}},
165165
Role: anthropic.MessageParamRoleUser,
166166
}},
167-
Model: anthropic.ModelClaudeMythosPreview,
167+
Model: anthropic.ModelClaudeOpus4_6,
168168
CacheControl: anthropic.CacheControlEphemeralParam{
169169
TTL: anthropic.CacheControlEphemeralTTLTTL5m,
170170
},

0 commit comments

Comments
 (0)