diff --git a/.changeset/sunny-seals-begin.md b/.changeset/sunny-seals-begin.md new file mode 100644 index 0000000..c461b6e --- /dev/null +++ b/.changeset/sunny-seals-begin.md @@ -0,0 +1,5 @@ +--- +"create-browser-app": patch +--- + +Change to make agent param default to systemPrompt instead of instructions for stagehand v3 diff --git a/package.json b/package.json index eb05b8e..067415a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "create-browser-app", - "version": "2.5.1", + "version": "2.5.2", "description": "", "bin": { "create-browser-app": "./dist/cli.js" diff --git a/template/index.ts b/template/index.ts index 7913af4..862c505 100644 --- a/template/index.ts +++ b/template/index.ts @@ -29,7 +29,7 @@ async function main() { console.log(`Observe result:\n`, observeResult); const agent = stagehand.agent({ - instructions: "You're a helpful assistant that can control a web browser.", + systemPrompt: "You're a helpful assistant that can control a web browser.", }); const agentResult = await agent.execute(