aws / aws/amazon-q-developer-cli

Ctrl+C unable to interrupt ongoing Thinking and Tool call

Open
#2,810 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again

### Operating system

macOS 15.6.1 (24G90)

### Expected behaviour

The ongoing thinking or function call should be interrupted when clicking Ctrl+C.

### Actual behaviour

The process continues until the answer of ongoing question wrapped up, then outputs: (To exit the CLI, press Ctrl+C or Ctrl+D again or type /quit)

### Steps to reproduce

Ask any question that involves Tool calls, then try to interrupt it using ctrl+c.

### Environment

```yaml
[q-details]
version = "1.15.0"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.