01
01 copied to clipboard
Cannot call "receive" once a disconnect message has been received.
(base) zhouxl@jiangliuerdeMacBook-Pro software % poetry run 01
○
Starting...
INFO: Started server process [60460] INFO: Waiting for application startup.
Ready.
INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:10001 (Press CTRL+C to quit) INFO: ('127.0.0.1', 56406) - "WebSocket /" [accepted] INFO: connection open
Press the spacebar to start/stop recording. Press CTRL-C to exit. Cannot call "receive" once a disconnect message has been received. Recording started... Recording stopped.
seems nobody make this bug, only me, at least , i do not find any same bug in the upload issues. someone knows how to solve it.
seems nobody make this bug, only me
I have the same behavior.
Me too
I found a webpage like this . It seems that the error message comes from fastapi.
I have the same error. Does 01 work with the error for you? I can record something but don't get any response. I also checked my Openai token and it is never used. So I am sure it is not sending anything to openAI.
I have the same error. Does 01 work with the error for you? I can record something but don't get any response. I also checked my Openai token and it is never used. So I am sure it is not sending anything to openAI.
Yeah,record function is useful,but nothing happen when recording completed.
By the way, I have this problem when using openai api, ollama and llmstudio.
I have the same error. Does 01 work with the error for you? I can record something but don't get any response. I also checked my Openai token and it is never used. So I am sure it is not sending anything to openAI.
hh, i even can't record voice, Always looping between record started and record stopped.I am very confused and when i reset environment, it just repeat the looping. and have some other bugs.
Same issue my side, unable to proceed after holding and releasing space bar to record audio
Same error msg
just want to chime in and i'm having this issue as well. m1 mac running --local flag
For me, when O1 is done performing a task, it can't do follow ups because of similar issue. First instruction works well.
I solved my problem by switching from python version 3.9.2 to 3.11.8
I solved my problem by switching from python version 3.9.2 to 3.11.8
How did you switch? Just update it?
I solved my problem by switching from python version 3.9.2 to 3.11.8
How did you switch? Just update it?
I use pyenv to switch between different Python versions.
I used poetry env use 3.11
and poetry install
. it worked after I created a dummy REAME.md
file. Not sure why this is missing in my current setup.
Issue appears linked with /Library/Caches/pypoetry/virtualenvs/01os-w_P9xt9H-py3.9/lib/python3.9/site-packages/urllib3/init.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020 warnings.warn(
thank you @oderwat !!!! i didn't have to create a readme file but here's what i did on my m1 pro
- create a new conda env with python version 11.8, arm based
CONDA_SUBDIR=osx-arm64 conda create -n 01 python python=3.11.8
-
conda activate 01
-
poetry install
and that was it! now works :)
edit: actually i lied, i actually did this after poetry install due to (this issue: https://github.com/OpenInterpreter/01/issues/68)
pip uninstall pyaudio
pip install --global-option='build_ext' --global-option="-I$(brew --prefix)/include" --global-option="-L$(brew --prefix)/lib" pyaudio
but works after that :)
Did upgrading to python 3.11 fix this issue for folks?
I used
poetry env use 3.11
andpoetry install
. it worked after I created a dummyREAME.md
file. Not sure why this is missing in my current setup.
This worked a treat on M1 Pro
Did upgrading to python 3.11 fix this issue for folks?
Oderwats instructions fixed my issue
I'm glad this solved the problem! If this issue arises again for anyone feel free to create a new issue
It has to do with the websockets.connect
call and it's ping_timeout
argument. PR forthcoming.