You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 20, 2025. It is now read-only.
Message: invalid session id: session deleted as the browser has closed the connection
from disconnected: not connected to DevTools
...
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=59889): Max retries exceeded with url: /session/0dcbf61fd78743768e434faf5340b413/window (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x2aaad5087350>: Failed to establish a new connection: [Errno 111] Connection refused'))
The example I used is:
import asyncio
from talkingheads import PiClient
async def main():
chathead = PiClient()
await chathead.start()
response = await chathead.interact("Where do you find some tasty cheese in Paris?")
print(response)
# Run the async function
asyncio.run(main())
The example I used is: