Skip to content

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

@amitlevy

Description

@amitlevy
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions