lemonai icon indicating copy to clipboard operation
lemonai copied to clipboard

读取不到文件

Open nalanshi opened this issue 1 year ago • 2 comments

DockerRuntime.execute_action { status: 'failure', content: '', error: "Failed to read file /app/workspace/Conversation_581818/app/workspace/Conversation_581818/clock.html: Failed to read file: ENOENT: no such file or directory, open '/app/workspace/Conversation_581818/app/workspace/Conversation_581818/clock.html'" } at async completeCodeAct (/app/src/agent/code-act/code-act.js:122:29) at async AgenticAgent.execute (/app/src/agent/AgenticAgent.js:272:24) at async AgenticAgent.run (/app/src/agent/AgenticAgent.js:77:7) { errno: -2, code: 'ENOENT', syscall: 'open', path: '/app/workspace/Conversation_581818/app/workspace/Conversation_581818/clock.html' } {"role":"assistant","uuid":"86ccd453-8594-43a5-82e2-47f44b570621","status":"failure","content":"","comments":"","memorized":"","timestamp":1749210675005,"meta":{"task_id":"1749210279796_498.3014846032543","action_type":"read_file","filepath":"","url":"","json":[],"content":""}}reflection_result { status: 'failure', comments: "Failed to read file /app/workspace/Conversation_581818/app/workspace/Conversation_581818/clock.html: Failed to read file: ENOENT: no such file or directory, open '/app/workspace/Conversation_581818/app/workspace/Conversation_581818/clock.html'" } code-act.memory logging user prompt

这是日志,app是自己构建的版本,runtime用的是官方的

nalanshi avatar Jun 06 '25 11:06 nalanshi

不知道为什么他目录会重复 /app/workspace/Conversation_581818/app/workspace/Conversation_581818/clock.html

nalanshi avatar Jun 06 '25 11:06 nalanshi

We apologize for this issue, which occurred within the Docker environment. The large model conflated the Docker host's address with the Docker sandbox environment's address. We have since resolved this and released a new Docker image, v0.0.18. Please pull the latest image to fix the problem.

HexdoAI avatar Jun 09 '25 07:06 HexdoAI