Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/eight-laws-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@browserbasehq/stagehand": minor
---

Remove old act cache
9 changes: 0 additions & 9 deletions lib/StagehandPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,6 @@ export class StagehandPage {
requestId,
variables,
previousSelectors: [],
skipActionCacheForThisStep: false,
domSettleTimeoutMs,
timeoutMs,
})
Expand Down Expand Up @@ -670,10 +669,6 @@ export class StagehandPage {
},
});

if (this.stagehand.enableCaching) {
this.stagehand.llmProvider.cleanRequestCache(requestId);
}

throw e;
});
}
Expand Down Expand Up @@ -796,10 +791,6 @@ export class StagehandPage {
},
});

if (this.stagehand.enableCaching) {
this.stagehand.llmProvider.cleanRequestCache(requestId);
}

throw e;
});
}
Expand Down
98 changes: 0 additions & 98 deletions lib/cache.ts

This file was deleted.

158 changes: 0 additions & 158 deletions lib/cache/ActionCache.ts

This file was deleted.

Loading
Loading