Skip to content

Repeated consecutive tool calls should increment a counter instead of separate line in the UI #86

Description

@mochow13

Tool calls that look like same in the UI should be compacted to counters. For example, right now, we do this:

Read tools.go
Read llm.go
Read llm.go
Read llm.go
Read tools.go
Read tools.go

Under the hood, agent is likely checking various parts of the file through offset and limit params. Agent is not actually reading the same file again and again.

We should improve the above to:

Read tools.go
Read llm.go (x3)
Read tools.go (x2)

So a counter will update if two consecutive tool calls appear same in the UI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions