cloudwego / cloudwego/eino

Ls Tool lack detail infomations of return entries

Open
#1,100 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
13k
Forks
1.1k
Avg merge
4h 6m
Merged PRs (30d)
41

Description

Image

Image

如图,模型使用 **ls** 工具无法区分是文件还是目录,会错误的将文件当做目录进一步探索导致报错

Image

且建议加上文件的详细信息,比如内存大小,否则如果文件是二进制可执行文件,就会导致工具返回结果过大,污染上下文

Contributor guide

Open the contributing guide

Research direction

Start by locating the Go implementation and output formatting for the ls tool, then reproduce the reported case from the screenshots where files are mistaken for directories. Done means returned entries distinguish files from directories and provide useful file-size information without producing excessively large results.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.