Got this error when CLI try to access files outsid...
# feedback
c
Got this error when CLI try to access files outside pwd, is this expected? i guess the error message for CLI wasn't informative at all - it just hang there and makes me think the agent is still working
Copy code
18:38:46 - openhands:ERROR: base.py:347 - [runtime 93aa8961-f175-46c4-b9d5-e8463368dc6b-8d295d28984c7453] Unexpected error while running action: LLMMalformedActionError: Invalid path: /mnt/data/research/data/XXX/annotation_trace_ids_after_june20.txt. You can only work with files in /mnt/data/research/xingyao/YYY.
c
It's expected that it won't go in other directories, but it should return the error to the agent, at least. Graham is fixing this
I think maybe the better option here would be to ask the user, and if allowed, to either save that new directory in its list of 'trusted directories' or to keep an in-memory list for only that session