I’m running the CLI and can’t quite configure the ...
# questions
i
I’m running the CLI and can’t quite configure the agent to auto-confirm actions. My command is
openhands
on the terminal and I have tried the following: * setting env var SECURITY_ENABLE_SECURITY_ANALYZER=false * setting
confirmation_mode = false
under
[security]
in both current directory
config.toml
and
./openhands/config.toml
Any tips, please?
c
which version are you using? did you try
uv tool install --python 3.12 openhands
to install the latest version?
i
I’m using
openhands v1.2.1
installed globally via
uv tool install openhands
c
does click this works for you?
w
ideally you wouldn't always need to click that option on the first step 😕
this sounds like a bug, hopefully an easy one to fix!
c
I'm quite annoyed by this too, so there's a WIP PR: https://github.com/OpenHands/OpenHands-CLI/pull/110
i
Thanks folks, I’m all in for the upcoming
--llm-approve
I just wonder if I’m getting the config.toml placement right, though. I added
debug = true
but it wouldn’t work whereas the env var will. I have tried the current dir and ./openhands. how can I troubleshoot this? Is there any way I can confirm which config file I’m using?
c
I think
config.toml
is deprecated in V1 🤔
i
oh, okay, that might explain it 😅 I’m just having a hard time navigating the docs on 2 axis: 1) new version and 2) what interface I’m using (CLI vs GUI vs SDK)
c
Sorry about that 😅 @better-park-34863 @elegant-branch-54423 some docs feedback here - I do think we need to schedule a complete doc refresh once we fully ship v1 GUI
💯 1
the current state of docs is a bit weird bc we have both V1 and V0 in the play here (GUI haven't been fully upgraded to V1 yet)
i
understood, thanks for breaking it down
e
Updated the github ticket to associate it with a larger non-interactive CLI mode user story.
👍 1