aws / aws/amazon-q-developer-cli
Feature Request: Usage statistics for q chat --non-interactive
Open
- Dominant language
- Rust
- Stars
- 2k
- Forks
- 439
- PR merge metrics
- No merged PRs in 30d
Description
I would like to be able to get the usage statistics after executing a non-interactive chat like I can with an interactive chat.
Ideally I could call `q chat --no-interactive --trust-all-tools **--usage** 'how do you say hello in french?'`
And be returned my response with the usage statistics run last ex:
Current context window (17640 of 200k tokens used)
███████ 8.82%
█ Context files: ~2540 tokens (1.27%)
█ Tools: ~2720 tokens (1.36%)
█ Q responses: ~500 tokens (0.25%)
█ Your prompts: ~11880 tokens (5.94%)
Or as a JSON object.
Contributor guide
Assessment
This issue has not been assessed yet.