From 9f239b2de35ea16b5e666dde162520f141a2fcf0 Mon Sep 17 00:00:00 2001 From: Simon <10131203+gaomeng1900@users.noreply.github.com> Date: Sat, 17 Jan 2026 02:05:30 +0800 Subject: [PATCH] chore: comment out unused config --- packages/page-agent/src/config/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/page-agent/src/config/index.ts b/packages/page-agent/src/config/index.ts index dc11612..538be09 100644 --- a/packages/page-agent/src/config/index.ts +++ b/packages/page-agent/src/config/index.ts @@ -108,14 +108,14 @@ export interface AgentConfig { * @note PageAgent will try to detect new pages and decide if it's caused by an action. But not very reliable. * @todo remove `this` binding, pass agent as explicit parameter instead */ - onNewPageOpen?: (this: PageAgent, url: string) => Promise | void + // onNewPageOpen?: (this: PageAgent, url: string) => Promise | void /** * TODO: @unimplemented * try to navigate to a new page instead of opening a new tab/window. * @note will unload the current page when a action tries to open a new page. so that things keep in the same tab/window. */ - experimentalPreventNewPage?: boolean + // experimentalPreventNewPage?: boolean } export type PageAgentConfig = LLMConfig & AgentConfig & PageControllerConfig