Skip to content

Commit 945ed04

Browse files
authored
Add November GPT-4o snapshot (#497)
* Add November GPT-4o snapshot * reset example
1 parent a683fab commit 945ed04

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

Diff for: .changeset/moody-yaks-shout.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@browserbasehq/stagehand": patch
3+
---
4+
5+
add gpt 4o november snapshot

Diff for: examples/example.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ import StagehandConfig from "@/stagehand.config";
1111
async function example() {
1212
const stagehand = new Stagehand({
1313
...StagehandConfig,
14-
modelName: "o3-mini",
1514
});
1615
await stagehand.init();
17-
await stagehand.page.goto("https://www.google.com");
16+
await stagehand.page.goto("https://docs.stagehand.dev");
1817
}
1918

2019
(async () => {

Diff for: lib/llm/LLMProvider.ts

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ const modelToProviderMap: { [key in AvailableModel]: ModelProvider } = {
1313
"gpt-4o": "openai",
1414
"gpt-4o-mini": "openai",
1515
"gpt-4o-2024-08-06": "openai",
16+
"gpt-4o-2024-11-20": "openai",
17+
"gpt-4o-2024-05-13": "openai",
1618
"o1-mini": "openai",
1719
"o1-preview": "openai",
1820
"o3-mini": "openai",

Diff for: types/model.ts

+2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ import { z } from "zod";
55
export const AvailableModelSchema = z.enum([
66
"gpt-4o",
77
"gpt-4o-mini",
8+
"gpt-4o-2024-11-20",
89
"gpt-4o-2024-08-06",
10+
"gpt-4o-2024-05-13",
911
"claude-3-5-sonnet-latest",
1012
"claude-3-5-sonnet-20241022",
1113
"claude-3-5-sonnet-20240620",

0 commit comments

Comments
 (0)