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