-
Notifications
You must be signed in to change notification settings - Fork 444
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
MultiProcess problem #110
Comments
This issue is stale because it has been open 3 days with no activity. Remove stale label or comment or this will be closed in 4 days. |
Hi, I believe we designed so. Could you point out what problems it could lead to? |
On my macOS, if tool selected enable, llm chain will not raise exception,(trace it raise exception because this mac python problems),so i switch to spawn mode at begin of main.py (as code in |
On mac os set multiprocess.set_start_method("fork", True) |
When I check code about Chat Streaming, This variable seems to be shared by multiple processes, I also find this variable is assigned by another process. But
is_end
is local variable. There may be some problems with this code, or is it designed like this?OpenAgents/backend/utils/streaming.py
Lines 266 to 273 in 880e26a
I am also confused that if this var changes to sharable, logic seems to be broken. Author's design should control this stream stop when chat_thread(this is a python process) not alive. When I use MacOS(m1, version 14.1.2 ) for test, this
is_alive
may not work, This may another problem.The text was updated successfully, but these errors were encountered: