freezing-spoon-14104
10/29/2025, 1:26 PMbetter-park-34863
10/30/2025, 9:18 PMbusy-family-83561
11/03/2025, 9:18 PMgentle-apple-32922
11/05/2025, 2:25 PMfreezing-spoon-14104
11/05/2025, 5:13 PMgentle-apple-32922
11/07/2025, 9:41 PMflaky-jordan-67349
11/11/2025, 7:16 PMcreamy-angle-38470
11/12/2025, 4:52 PMconversation.astream() still supported?
async def run_agent():
conversation = Conversation(agent=agent, workspace=cwd)
conversation.send_message("Write 3 facts about Python to FACTS.txt")
async for event in conversation.astream():
print(f"Event: {event}")
This is from the online docs: here.
When I try to run this code snippet locally, I get this error:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[2], line 1
----> 1 await run_agent()
Cell In[1], line 40, in run_agent()
37 conversation = Conversation(agent=agent, workspace=cwd)
38 conversation.send_message("Please add 'hi there' to the top of the readme.md file")
---> 40 async for event in conversation.astream():
41 print(f"Event: {event}")
AttributeError: 'LocalConversation' object has no attribute 'astream'wooden-umbrella-84098
11/17/2025, 5:43 PMchilly-france-44439
11/18/2025, 4:36 PMquick-window-91705
11/18/2025, 8:43 PMmillions-afternoon-47582
11/25/2025, 10:40 AMbumpy-australia-72183
12/02/2025, 2:53 AMchilly-france-44439
12/03/2025, 4:10 PMmetadata.json created by the benchmarks repo, is this intended? đź‘€numerous-tent-44806
12/03/2025, 8:05 PMlimited-student-10747
12/06/2025, 4:22 PMdry-autumn-33122
12/06/2025, 9:55 PMdry-autumn-33122
12/07/2025, 10:14 AMquick-window-91705
12/07/2025, 6:41 PMripe-optician-72785
12/10/2025, 12:54 AMquick-window-91705
12/10/2025, 8:30 PM--output json in https://github.com/OpenHands/OpenHands-CLI/issues/147
Is this a type of headless mode but instead of a rich TUI we output json?
So --headless --output json is the same --output json
Or should --headless mean we never emit any events?enough-angle-84612
12/17/2025, 6:33 AMfamous-boots-175
12/18/2025, 2:03 PMchilly-france-44439
12/23/2025, 3:12 PMstrong-ice-84145
12/23/2025, 8:53 PMlitellm.AuthenticationError: AuthenticationError: Litellm_proxyException - Authentication Error, Invalid proxy server token passed. Received API Key = sk-...zk9w, Key Hash (Token) =****. Unable to find token in cache or `LiteLLM_VerificationTokenTable`strong-ice-84145
12/23/2025, 10:03 PMstrong-ice-84145
12/24/2025, 10:59 AMechoing-ability-9927
12/29/2025, 2:02 PMdecrypt_env.sh step
The docs mention running local/decrypt_env.sh, but they don’t specify that a path argument is required.
From the script itself:
enterprise_local/decrypt_env.sh <DEPLOY_DIR>
Example: enterprise_local/decrypt_env.sh /path/to/deploy
Since this wasn’t mentioned in the docs and I wasn’t sure what path to pass, I skipped this step.
2. Error while running convert_to_env.py
After that, I ran:
python enterprise_local/convert_to_env.py
And got the following error:
Error: [Errno 2] No such file or directory: 'github_decrypted.yaml'
Traceback (most recent call last):
File ".../enterprise_local/convert_to_env.py", line 87, in <module>
os.remove(yaml_file)
FileNotFoundError: [Errno 2] No such file or directory: 'github_decrypted.yaml'
I assume this file should have been generated by the skipped decrypt_env.sh step, but I’m not fully sure.
Context about my PR
I’ve opened a PR here:
https://github.com/OpenHands/OpenHands/pull/12181
I tested everything up to the point where clicking the GitHub auth button redirects to GitHub. However, after the redirect, the server was still running in OSS mode, so I couldn’t complete the OAuth flow end-to-end and fully validate the PR.
My questions
What exactly am I doing wrong in the enterprise local setup?
1. What should the correct DEPLOY_DIR be for decrypt_env.sh?
2. Is there a recommended way to fully run the enterprise server locally so GitHub auth can be tested end-to-end?
3. Is there anything else I should configure before testing OAuth for enterprise mode?
Any help or pointers would be really appreciated. Thanks a lot!limited-student-10747
02/16/2026, 1:47 PMlimited-student-10747
02/16/2026, 1:48 PM