shortest
shortest copied to clipboard
add a basic implementation of a recording based tool and client
Some stuff is still quite irrelevant as I was trying out the repo...
- Made a SnapshotBrowserTool that records the steps taken by the AI.
- Made a SnapshotAIClient that makes a final decision after all the recorded steps are rerun from the snapshot file (JSONL)
I need to clean it up, would be useful to ignore the screenshot steps, and maybe add a wait for load after clicking or navigating instead of a 1s sleep.
Also a --snapshot parameter should be added and a cleanup parameter as well.
Speed is clearly better, and the AI still makes the final judgement call with a different prompt.