Skip to content

fix(channels): use correct argument key for tool progress summary (#1357)#1358

Open
crrow wants to merge 1 commit intomainfrom
issue-1357-fix-tool-summary
Open

fix(channels): use correct argument key for tool progress summary (#1357)#1358
crrow wants to merge 1 commit intomainfrom
issue-1357-fix-tool-summary

Conversation

@crrow
Copy link
Copy Markdown
Collaborator

@crrow crrow commented Apr 13, 2026

Summary

  • Fix tool_arguments_summary and tool_display_info using wrong key "path" instead of "file_path" for read-file/write-file/edit-file tools — summary was always empty
  • Show summary in CLI TUI for finished tools too, so fast-completing tools (read 0ms) still display the file path
  • Add "file_path" to fallback key lists for unknown tools

Type of change

Type Label
Bug fix bug

Component

backend

Closes

Closes #1357

Test plan

  • New tests: summary_read_file, display_info_read_file, display_info_edit_file
  • All 18 tool_display tests pass
  • cargo check / cargo clippy / cargo fmt pass
  • Pre-commit hooks pass

… summary (#1357)

`tool_arguments_summary` and `tool_display_info` used `arguments.get("path")`
but the actual parameter field in read-file/write-file/edit-file is `file_path`.
This caused file path summaries to always be empty.

Also show summary in CLI TUI for finished tools (not just in-progress), so
fast-completing tools like read-file (0ms) still display what was read.

Closes #1357
@crrow crrow added bug Something isn't working backend Backend/API changes labels Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend/API changes bug Something isn't working

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

fix(channels): tool progress shows 'read' without file path

1 participant