Skip to content

Conversation

@CaiDingxian
Copy link
Contributor

Context

File Character/Token Statistics

I append the character count to the file paths in the list_files output.

Informed Decision Making: This metadata allows the Agent to decide the best reading strategy:
Read the full file via read_file.
Perform a partial/range read.
Rely solely on the structural summary via list_code_definition_names to save tokens.

see issue [https://github.com//issues/3891#issue-3643415149]

Implementation

How to Test

  • Ask Kilo to list a directory
  • Kilo Show Show file list with chars numbers

@changeset-bot
Copy link

changeset-bot bot commented Jan 12, 2026

🦋 Changeset detected

Latest commit: d156e07

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
kilo-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@kevinvandijk
Copy link
Collaborator

Thanks @CaiDingxian! We'll review this soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants