Commit 4235561
authored
feat(amazonq): Enable implicit
## Problem
The chat workspace context requires user to manually input `@workspace`
in the chat window, but when user do not have such prompt, workspace
context can still be useful, we want to always send the relevant
document and let service decide when to utilize it.
## Solution
Enable implicit `@workspace` context for Amzn users. For these users, if
they do not have `@workspace` in the chat prompt, the
relevantTextDocument is still added to the chat API. This will be AB
tested
Also remove the outdated data collection experiment.@workspace context for Amzn users #5856
1 parent 886ab29 commit 4235561
File tree
3 files changed
+21
-19
lines changed- packages
- amazonq/.changes/next-release
- core/src
- codewhispererChat/controllers/chat
3 files changed
+21
-19
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
53 | | - | |
| 52 | + | |
54 | 53 | | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
633 | 633 | | |
634 | 634 | | |
635 | 635 | | |
636 | | - | |
637 | | - | |
638 | | - | |
| 636 | + | |
| 637 | + | |
639 | 638 | | |
640 | | - | |
| 639 | + | |
641 | 640 | | |
642 | 641 | | |
643 | 642 | | |
644 | | - | |
645 | 643 | | |
646 | | - | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
647 | 653 | | |
648 | 654 | | |
649 | 655 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | | - | |
55 | | - | |
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
| |||
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 67 | | |
73 | 68 | | |
74 | 69 | | |
| |||
145 | 140 | | |
146 | 141 | | |
147 | 142 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
| 143 | + | |
| 144 | + | |
153 | 145 | | |
154 | 146 | | |
155 | 147 | | |
| |||
0 commit comments