Hi everyone, Iโ€™m running into an issue on the Open...
# questions
c
Hi everyone, Iโ€™m running into an issue on the OpenHands Cloud offering and was hoping someone could help. Iโ€™m getting the following error:
e
Hi There, sorry youโ€™re running into this issue. Can you share the conversation URL?
c
This is the conversation id : 51662c54b1d9468a9651e68794f56908 This is the url : https://openhands.c3ci.cloud/conversations/51662c54b1d9468a9651e68794f56908
e
Thanks for sharing this URL. It looks like you may be on an OpenHands Cloud self-hosted instance. I am tagging our engineer who is supporting your account to this message. We may not be able to respond until tomorrow but will definitely work with you to understand the error. CC @curved-angle-80449
Out of curiosity, what model are you using?
c
Thank you so much! I am currently using Bedrock Claude 3.7 Sonnet
For more context this error occurs usually when agent tries to use string functions - something like this (Missing required parameters for function 'str_replace_editor': {'security_risk'})
c
@clever-window-69122 I think this bug describes the behavior you are seeing. It was written against the CLI instead of the GUI but I suspect it is the same underlying issue manifested in a different codebase. We've just made a run at a comprehensive treatment of this issue and some related ones. These fixes will become available in OpenHands Enterprise when we release a V1 SDK based version of OpenHands Enterprise. The first thing to check is to be sure that the beta flag enabled for enable confirmation mode is off_._ You will find that in the profile menu in the bottom left, click Language Model (LLM) and find the setting at the bottom of the page. After that we will need the stack trace that is appearing in logs for the runtime pod where this occurs. You are welcome to schedule a time with me at https://calendly.com/john-mason-all-hands and I can walk you through the process of retrieving the logs. Once we have the stack trace we will post a new bug in https://github.com/OpenHands/OpenHands/issues with the stack trace and I can take it from there,
๐Ÿ‘ 1
c
Thank you so much, I have made sure that enable confirmation mode is off currently. I have gone ahead and scheduled a meeting for the same for tomorrow
๐Ÿ™ 1
This is the error : Missing required parameters for function 'str_replace_editor': {'security_risk'} Is it a security precaution?
c
The agent has built in a mechanism for determining whether it should prompt for a user to confirm an action and it rates the risk of actions so that the user can choose to auto-confirm low risk items while waiting for manual confirmations for high risk ones. This is handy when running on your desktop without a sandbox, but in the context of a sandboxed environment this is not so meaningful.
๐Ÿ‘ 1
c
That makes sense and is there a way to let the agent know the risk level or to disable this, since this is not required?
c
Yes and more control about disabling is the approach taken (among others) in the fixes we've made. The two things we'll work on in parallel are getting the stack trace from your environment and getting a new release out to you.
๐Ÿ‘ 1
m
@curved-angle-80449 Is it possible to set any SANDBOX_ENV_{YOUR_ENV_VARIABLE} in the values to disable this?
s
Not today unfortunately.
How often are you encountering the error?
m
Very often ๐Ÿ˜„
s
Ok. Iโ€™ll check in with agent team on Monday and see if there is a possible fix for v0 or if we can get v1 out the door next week.
m
Would be much appreciated ๐Ÿ™‚
Something that we would be very thankful for
๐Ÿ‘ 1