feat(core): remove unused .disposed

This commit is contained in:
Simon
2026-01-28 19:17:23 +08:00
parent 04d51c566d
commit ff75aebc20

View File

@@ -53,7 +53,6 @@ export class PageAgentCore extends EventTarget {
config: PageAgentConfig & { maxSteps: number }
id = uid()
tools: typeof tools
disposed = false
task = ''
taskId = ''
@@ -582,7 +581,6 @@ export class PageAgentCore extends EventTarget {
dispose() {
console.log('Disposing PageAgent...')
this.disposed = true
this.pageController.dispose()
// this.history = []
this.#abortController.abort()