Commit ce3dd61
authored
fix(amazonq): inline chat now activates independently of LSP chat #6973
## Problem
When toggling the experiment via, the `aws.experiments.amazonqChatLSP`
flag in settings, inline chat fails to activate. Specifically, it
appears the command fails to register.
```
command 'aws.amazonq.inline.invokeChat' not found
```
This happened because inline chat was activated as part of regular chat.
When we use LSP chat, this then never gets activated.
## Solution
- Activate inline chat independently of regular chat.
## Testing
- Verified the fix by running extension with and without
`aws.experiments.amazonqChatLSP` flag and using inlineChat in both
cases. One of these cases is shown in the demo below.
## Notes
This will have to change once we consume LSP inline chat, as we don't
want to activate both our inline chat and Flare's.1 parent f540496 commit ce3dd61
File tree
4 files changed
+9
-5
lines changed- packages/amazonq
- .changes/next-release
- src
- app/chat
- inlineChat
4 files changed
+9
-5
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
75 | | - | |
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
0 commit comments