Skip to content

Commit 63e41a7

Browse files
monadoidstainless-app[bot]
authored andcommitted
STG-1306: use opus for agent examples
1 parent c58e7e4 commit 63e41a7

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Playwright.create(playwright_cli_executable_path: "./node_modules/.bin/playwrigh
146146
},
147147
agent_config: {
148148
model: Stagehand::ModelConfig.new(
149-
model_name: "anthropic/claude-sonnet-4-6",
149+
model_name: "anthropic/claude-opus-4-6",
150150
api_key: ENV["MODEL_API_KEY"]
151151
),
152152
cua: false

examples/local_browser_example.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def stream_with_result(label, stream)
109109
},
110110
agent_config: {
111111
model: Stagehand::ModelConfig.new(
112-
model_name: "anthropic/claude-sonnet-4-6",
112+
model_name: "anthropic/claude-opus-4-6",
113113
api_key: model_key
114114
),
115115
cua: false

examples/local_browser_playwright_example.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def stream_with_result(label, stream)
160160
},
161161
agent_config: {
162162
model: {
163-
model_name: "anthropic/claude-sonnet-4-6",
163+
model_name: "anthropic/claude-opus-4-6",
164164
api_key: model_key
165165
},
166166
cua: false
@@ -176,7 +176,7 @@ def stream_with_result(label, stream)
176176
},
177177
agent_config: {
178178
model: {
179-
model_name: "anthropic/claude-sonnet-4-6",
179+
model_name: "anthropic/claude-opus-4-6",
180180
api_key: model_key
181181
},
182182
cua: false

examples/local_playwright_example.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def stream_with_result(label, stream)
174174
},
175175
agent_config: {
176176
model: Stagehand::ModelConfig.new(
177-
model_name: "anthropic/claude-sonnet-4-6",
177+
model_name: "anthropic/claude-opus-4-6",
178178
api_key: model_key
179179
),
180180
cua: false

examples/local_watir_example.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def stream_with_result(label, stream)
144144
},
145145
agent_config: {
146146
model: Stagehand::ModelConfig.new(
147-
model_name: "anthropic/claude-sonnet-4-6",
147+
model_name: "anthropic/claude-opus-4-6",
148148
api_key: model_key
149149
),
150150
cua: false

examples/remote_browser_example.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def stream_with_result(label, stream)
136136
},
137137
agent_config: {
138138
model: Stagehand::ModelConfig.new(
139-
model_name: "anthropic/claude-sonnet-4-6",
139+
model_name: "anthropic/claude-opus-4-6",
140140
api_key: model_key
141141
),
142142
cua: false

examples/remote_browser_playwright_example.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def stream_with_result(label, stream)
196196
},
197197
agent_config: {
198198
model: Stagehand::ModelConfig.new(
199-
model_name: "anthropic/claude-sonnet-4-6",
199+
model_name: "anthropic/claude-opus-4-6",
200200
api_key: model_key
201201
),
202202
cua: false
@@ -213,7 +213,7 @@ def stream_with_result(label, stream)
213213
},
214214
agent_config: {
215215
model: Stagehand::ModelConfig.new(
216-
model_name: "anthropic/claude-sonnet-4-6",
216+
model_name: "anthropic/claude-opus-4-6",
217217
api_key: model_key
218218
),
219219
cua: false

0 commit comments

Comments
 (0)