Commit ad148d4
fix(chat): When user reject executing command, it should not send messages to LLM (#7052)
## Problem
Right now, when user reject executing command, chat would send the
reject message to LLM and LLM would response. The loop would still
continue
<img width="428" alt="Screenshot 2025-04-15 at 11 36 15 AM"
src="https://github.com/user-attachments/assets/cd5d1c03-271a-416e-9c9e-d62068a82020"
/>
## Solution
<img width="428" alt="Screenshot 2025-04-15 at 11 44 57 AM"
src="https://github.com/user-attachments/assets/66a6a05a-444d-4e90-bce1-c1bfb2ffa217"
/>
---
- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.
---------
Co-authored-by: chungjac <[email protected]>1 parent ba18d86 commit ad148d4
File tree
1 file changed
+14
-1
lines changed- packages/core/src/codewhispererChat/controllers/chat
1 file changed
+14
-1
lines changedLines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
894 | 894 | | |
895 | 895 | | |
896 | 896 | | |
| 897 | + | |
| 898 | + | |
897 | 899 | | |
898 | 900 | | |
899 | 901 | | |
| |||
928 | 930 | | |
929 | 931 | | |
930 | 932 | | |
931 | | - | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
932 | 939 | | |
933 | 940 | | |
934 | 941 | | |
935 | 942 | | |
936 | 943 | | |
937 | 944 | | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
938 | 951 | | |
939 | 952 | | |
940 | 953 | | |
| |||
0 commit comments