Poor handling of errors
<!-- Your issue may already be reported! Please search for it before creating one. -->
**Describe the bug**
<!-- A clear and concise description of what the bug is. -->
I am trying to use the coder agent at a basic level just to see what it can do. The first thing it did was try and cat a folder, which led to an error, which led to it quitting.
**To Reproduce**
<!-- Steps to reproduce the behavior, including any relevant code snippets. -->
**Expected behavior**
<!-- A clear and concise description of what you expected to happen. -->
**Screenshots/Logs**
<!-- If applicable, add screenshots to help explain your problem. -->
```
> .agent coder
coder>@rag> read the flows in the flows/ folder to understand our project norms, then write a new flow that {REDACTED}
To proceed with your request, I need to first review the contents of the files in the `flows/` directory to understand your project norms. Once I have that understanding, I can write a new flow that accomplishes the task of {REDACTED}
Let's start by listing the files in the `flows/` directory and then read their contents. I'll need to use a tool to list and then read the contents of these files. Let's proceed with listing the directory first.
Call fs_ls {"path":"flows/"}
Call fs_cat {"path":"flows/src"}
cat: flows/src: Is a directory
Error: Tool call exit with 1
coder>@rag> try again
I'm not sure what you would like me to try again. Could you please provide more details or clarify what you need assistance with?
coder>@rag>
```
**Environment**
<!-- Please run `argc version` and paste the output -->
**Additional context**
<!-- Add any other context about the problem here. -->
关闭于 2025-05-23 1 条评论