-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Browser-agent not working - Playwright error #312
Comments
after you ask the agent to install playwright, then it still does not work as instead of opening the urls new card 'about:blank' is being opened and it throws out an error @frdel |
@Jukeman9 you gave me the idea and I asked the agent to install playwright and the dependencies and now browser-agent is working. However, it is not giving the output: Text
'NoneType' object has no attribute 'strip'
Traceback (most recent call last):
Traceback (most recent call last):
File "/[a0](http://192.168.2.162:50001/#)/[agent.py](http://192.168.2.162:50001/#)", line 310, in monologue
tools_result = await self.process_tools(agent_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/[a0](http://192.168.2.162:50001/#)/[agent.py](http://192.168.2.162:50001/#)", line 639, in process_tools
await tool.after_execution(response)
File "/[a0](http://192.168.2.162:50001/#)/[python](http://192.168.2.162:50001/#)/[helpers](http://192.168.2.162:50001/#)/[tool.py](http://192.168.2.162:50001/#)", line 34, in after_execution
text = response.message.strip()
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'strip'
AttributeError: 'NoneType' object has no attribute 'strip' |
For some reason the script expects chromium_headless_shell-1148 but chromium_headless_shell-1155 is available instead. Instead of telling the AI to install playwright I did it myself manually (/a0/docker/run/fs/ins/install_playwright.sh or /ins/install_playwright.sh, can't remember) and it replaced the files with expected ones. Anyway, the same result as you, sorta works but not really. |
Tried using browser-agent and I am getting this error:
I am running agent-zero using docker with Ollama.
The text was updated successfully, but these errors were encountered: