browserbase / stagehand

An AI web browsing framework focused on simplicity and extensibility.
https://www.browserbase.com
MIT License
1.18k stars 46 forks source link

Allow users to specify where they want to store the cache instead of having it hardcoded #190

Open kamath opened 6 days ago

kamath commented 6 days ago

It seems like a cache directory is created even when caching is disabled. This can become a problem when the library is used in an environment where mkdir is not possible. In the long term, it probably makes sense to allow the users to connect to some external storage / database? In the short-term, would it be possible to allow the users to specify where they want to store the cache instead of having it hardcoded?

its-jz commented 6 days ago

Addressed not creating a new directory when enableCaching is set to false here #191