Create observation when a file is downloaded
Author: adeprezCreated Jul 5, 2024Updated May 31, 2026
Labelshelp wantedgood first issueAgentDriver
Add a feature to create an observation whenever a new file appears in the download directory of the filesystem. This will prevent the world model from entering a loop due to uncertainty about the successful download of a file.
- Setup the driver to set the download directory to an agent-specific location
- Continuously monitor the specified download directory for any new files
- When a new file is detected in the download directory, create a corresponding observation in the world model
- The observation should include the file name
- On the chrome extension, make use of
chrome.downloads.onChangedto detect file download
Source: lavague-ai/LaVague