This repository was archived by the owner on Sep 30, 2024. It is now read-only.
Commit 146208d
authored
Cody completions: Log multi-line completion requests and results (#52449)
Adds a flag to the event logs so we know how often multi-line
suggestions are triggered.
Logging how often they are accepted is a bit tricker and requires some
resturcturing. For now we do not know for an accepted event wether it
was a multi line or a single line completion. Will fix it up later (but
I plan to cut a release in a bit)
## Test plan
<img width="1092" alt="Screenshot 2023-05-25 at 14 14 15"
src="https://github.com/sourcegraph/sourcegraph/assets/458591/da3ed4c4-b0c2-4906-9680-b6324c483c04">
<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->1 parent 8292cab commit 146208d
1 file changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
161 | 160 | | |
162 | 161 | | |
163 | 162 | | |
| 163 | + | |
| 164 | + | |
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| |||
173 | 174 | | |
174 | 175 | | |
175 | 176 | | |
| 177 | + | |
176 | 178 | | |
177 | 179 | | |
178 | 180 | | |
| |||
183 | 185 | | |
184 | 186 | | |
185 | 187 | | |
186 | | - | |
| 188 | + | |
187 | 189 | | |
188 | 190 | | |
189 | 191 | | |
| |||
241 | 243 | | |
242 | 244 | | |
243 | 245 | | |
244 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
245 | 252 | | |
246 | 253 | | |
247 | 254 | | |
248 | 255 | | |
249 | 256 | | |
250 | 257 | | |
251 | 258 | | |
252 | | - | |
253 | | - | |
| 259 | + | |
| 260 | + | |
254 | 261 | | |
255 | 262 | | |
256 | 263 | | |
| |||
0 commit comments