tarsier icon indicating copy to clipboard operation
tarsier copied to clipboard

TimeoutError: Locator.scroll_into_view_if_needed: Timeout 30000ms exceeded.

Open amitlevy opened this issue 1 year ago • 1 comments

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.

amitlevy avatar May 21 '24 16:05 amitlevy

This depends on the code generated by the agent. Unfortunately not something we can really deal with

asim-shrestha avatar Jun 12 '24 04:06 asim-shrestha