reworkd / tarsier

Vision utilities for web interaction agents 👀
https://reworkd.ai
MIT License
1.28k stars 66 forks source link

TimeoutError: Locator.scroll_into_view_if_needed: Timeout 30000ms exceeded. #78

Open amitlevy opened 1 month ago

amitlevy commented 1 month ago
File ~/.local/lib/python3.10/site-packages/langchain/chains/base.py:675, in Chain.arun(self, callbacks, tags, metadata, *args, **kwargs)
    [672](https://file+.vscode-resource.vscode-cdn.net/home/amit/Projects/Testing/~/.local/lib/python3.10/site-packages/langchain/chains/base.py:672)     if len(args) != 1:
    [673](https://file+.vscode-resource.vscode-cdn.net/home/amit/Projects/Testing/~/.local/lib/python3.10/site-packages/langchain/chains/base.py:673)         raise ValueError("`run` supports only one positional argument.")
    [674](https://file+.vscode-resource.vscode-cdn.net/home/amit/Projects/Testing/~/.local/lib/python3.10/site-packages/langchain/chains/base.py:674)     return (
--> [675](https://file+.vscode-resource.vscode-cdn.net/home/amit/Projects/Testing/~/.local/lib/python3.10/site-packages/langchain/chains/base.py:675)         await self.acall(
    [676](https://file+.vscode-resource.vscode-cdn.net/home/amit/Projects/Testing/~/.local/lib/python3.10/site-packages/langchain/chains/base.py:676)             args[0], callbacks=callbacks, tags=tags, metadata=metadata
    [677](https://file+.vscode-resource.vscode-cdn.net/home/amit/Projects/Testing/~/.local/lib/python3.10/site-packages/langchain/chains/base.py:677)         )
    [678](https://file+.vscode-resource.vscode-cdn.net/home/amit/Projects/Testing/~/.local/lib/python3.10/site-packages/langchain/chains/base.py:678)     )[self.output_keys[0]]
    [680](https://file+.vscode-resource.vscode-cdn.net/home/amit/Projects/Testing/~/.local/lib/python3.10/site-packages/langchain/chains/base.py:680) if kwargs and not args:
    [681](https://file+.vscode-resource.vscode-cdn.net/home/amit/Projects/Testing/~/.local/lib/python3.10/site-packages/langchain/chains/base.py:681)     return (
...

TimeoutError: Locator.scroll_into_view_if_needed: Timeout 30000ms exceeded.

Any idea what happened here? This happens when I run the third cell in the cookbook for a LangChain web agent. It seems to happen 30 seconds after the model writes "OpenAI Dev day", and then nothing further happens until the timeout.

asim-shrestha commented 1 month ago

Can we see the rest of your code?