Commit fe03b8c
authored
Positron-nb-assistant-feedback-fixes (#10880)
Addresses #10856, #10858, #10853, #10851, and #10859.
### Summary
This PR includes several improvements to the Positron Notebooks
Assistant based on user feedback:
1. **Fixes AI suggestions error** (#10856): Optimized notebook mode
caching to fix the error preventing AI suggestions from appearing in the
quickpick
2. **Auto-runs code cells** (#10853): Code cells added by the Assistant
now execute automatically, eliminating the 3-5 second delay from
requiring two separate tool calls
3. **Auto-renders markdown cells** (#10858): Markdown cells added by the
Assistant now render automatically instead of staying in edit mode
4. **Reduces token usage** (#10851): Improved MIME type detection to
avoid sending token-expensive base64 data in tool outputs
5. **Performance improvements** (#10859): Caching optimizations
significantly reduce response latency and help prevent the Assistant
getting stuck "Working..." for extended periods
### Release Notes
#### New Features
- N/A
#### Bug Fixes
- N/A
### QA Notes
@:positron-notebooks @:assistant1 parent 2268248 commit fe03b8c
File tree
14 files changed
+785
-214
lines changed- extensions/positron-assistant
- src
- md/prompts/chat
- test
- tools
- src/vs/workbench
- api/browser/positron
- contrib/positronNotebook/browser
14 files changed
+785
-214
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
870 | 870 | | |
871 | 871 | | |
872 | 872 | | |
873 | | - | |
| 873 | + | |
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
| |||
908 | 908 | | |
909 | 909 | | |
910 | 910 | | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
911 | 915 | | |
912 | 916 | | |
913 | 917 | | |
| |||
Lines changed: 6 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 31 | + | |
| 32 | + | |
52 | 33 | | |
53 | 34 | | |
54 | 35 | | |
55 | 36 | | |
56 | 37 | | |
57 | 38 | | |
58 | | - | |
| 39 | + | |
59 | 40 | | |
60 | 41 | | |
61 | 42 | | |
| |||
65 | 46 | | |
66 | 47 | | |
67 | 48 | | |
68 | | - | |
69 | | - | |
| 49 | + | |
| 50 | + | |
70 | 51 | | |
71 | 52 | | |
72 | 53 | | |
73 | 54 | | |
74 | 55 | | |
75 | 56 | | |
76 | | - | |
77 | | - | |
78 | 57 | | |
79 | 58 | | |
Lines changed: 4 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 33 | + | |
| 34 | + | |
54 | 35 | | |
55 | 36 | | |
56 | 37 | | |
57 | | - | |
| 38 | + | |
58 | 39 | | |
59 | 40 | | |
60 | 41 | | |
| |||
68 | 49 | | |
69 | 50 | | |
70 | 51 | | |
71 | | - | |
72 | | - | |
73 | 52 | | |
Lines changed: 5 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 34 | + | |
| 35 | + | |
55 | 36 | | |
56 | 37 | | |
57 | 38 | | |
| |||
70 | 51 | | |
71 | 52 | | |
72 | 53 | | |
73 | | - | |
74 | | - | |
| 54 | + | |
| 55 | + | |
75 | 56 | | |
76 | 57 | | |
77 | 58 | | |
| |||
80 | 61 | | |
81 | 62 | | |
82 | 63 | | |
83 | | - | |
84 | | - | |
85 | 64 | | |
86 | 65 | | |
0 commit comments