Marshall Bowers
9d3f26cb2a
Add missing Clone bounds
2023-10-19 15:02:00 -04:00
Kyle Caverly
339ffb9f7a
Introduction of PromptTemplate and PromptChains ( #3139 )
...
(This PR was written 100% by the Inline Assistant)
This PR brings in new components into our ai and assistant crates namely
PromptTemplate and PromptChains. They offer a new way to generate
prompts that allow for a more flexible and dynamic approach than before.
Release Notes:
- Introduced PromptTemplate: an abstract base for individual parts of
the prompt.
- Added PromptChains: manage multiple PromptTemplates, sort them based
on priority and regulate the output size based on tokens.
- Provided new PromptArguments structure to encapsulate arguments needed
for PromptTemplate.
- Extended repository_context to include PromptCodeSnippet.
2023-10-19 14:44:43 -04:00
Nate Butler
05a572d82c
Checkpoint - Still Broken
2023-10-19 14:38:01 -04:00
KCaverly
7dc5c92f6d
outlined when truncation is taking place in the prompt
2023-10-19 14:33:52 -04:00
Marshall Bowers
3033036320
Restore more active styles
2023-10-19 14:23:45 -04:00
Marshall Bowers
0564c6f07f
Fix mutual-exclusivity of right panels
2023-10-19 14:19:10 -04:00
Marshall Bowers
4149978b7a
Restore active styles for Inputs
2023-10-19 14:17:35 -04:00
Marshall Bowers
c94f0dfc03
Remove unused import
2023-10-19 14:10:13 -04:00
Marshall Bowers
1ac874264e
Merge branch 'gpui2' of github.com:zed-industries/zed into gpui2
2023-10-19 14:06:35 -04:00
Marshall Bowers
d8c11c1640
Wire up livestream debug toggle
2023-10-19 14:06:31 -04:00
Max Brunsfeld and Piotr
9449d46b70
Create notifications for mentioned users
...
Co-authored-by: Piotr <piotr@zed.dev >
2023-10-19 10:52:40 -07:00
Antonio Scandurra
5b0c266761
Checkpoint
2023-10-19 19:51:05 +02:00
Antonio Scandurra
a8b63536d6
Checkpoint
2023-10-19 19:51:05 +02:00
Antonio Scandurra
0b16c95877
Checkpoint
2023-10-19 19:51:05 +02:00
Antonio Scandurra
09834e4934
Checkpoint
2023-10-19 19:51:05 +02:00
Antonio Scandurra
b27ae2f24e
Checkpoint
2023-10-19 19:51:05 +02:00
Antonio Scandurra
d559b3d2da
Checkpoint
2023-10-19 19:51:05 +02:00
Antonio Scandurra
680f9fb130
Checkpoint
2023-10-19 19:51:05 +02:00
Antonio Scandurra
b9f78044f8
Checkpoint
2023-10-19 19:51:05 +02:00
Marshall Bowers
6f86edfbb6
Add ability to toggle user settings
2023-10-19 13:38:19 -04:00
Marshall Bowers
c81502792e
Pass the settings to build_child
2023-10-19 13:23:08 -04:00
Marshall Bowers
cd23bd1a1a
Merge branch 'gpui2' into gpui2ui-debug-panel
2023-10-19 13:04:37 -04:00
Marshall Bowers
ad093ede2f
Pull the settings from the global state
2023-10-19 13:02:32 -04:00
Nate Butler
e4ffe0016f
Checkpoint – Broken
2023-10-19 12:58:17 -04:00
Marshall Bowers
14d0533978
Checkpoint: Thread WindowContext through to user_settings
2023-10-19 12:58:17 -04:00
Nate Butler
ab8d45aa99
Add basic debug panel
2023-10-19 12:09:39 -04:00
Marshall Bowers
f911139452
Use line_height in z_index stories
2023-10-19 12:06:05 -04:00
Marshall Bowers
17b1356743
Add missing Arc for on_click handler
2023-10-19 10:25:54 -04:00
Antonio Scandurra
ad78ee5152
Checkpoint
2023-10-19 15:52:17 +02:00
Antonio Scandurra
36190b81f0
Checkpoint
2023-10-19 15:44:02 +02:00
Antonio Scandurra
5b3678ad64
Checkpoint
2023-10-19 15:36:37 +02:00
Kirill Bulatov
74fd8a116b
Sort hint request ranges before asserting to avoid flackiness ( #3142 )
2023-10-19 11:11:47 +03:00
Kirill Bulatov
dc719f09d0
Sort hint request ranges before asserting to avoid flackiness
2023-10-19 11:05:47 +03:00
Julia
e398a8dc0d
Magic incantations for Tailwind autocomplete in Svelte, Elixir ~H, Heex
2023-10-19 01:54:42 -04:00
Conrad Irwin
fbbf36d152
Merge branch 'main' into pixel-columns
2023-10-18 23:00:56 -06:00
Conrad Irwin
3d5cbcaad1
Refactor TextLayoutDetails construction
2023-10-18 22:56:11 -06:00
Conrad Irwin
1d49ff70f7
recert config change
2023-10-18 22:23:38 -06:00
Conrad Irwin
7436ed4d45
Make vim visual block work better
2023-10-18 22:23:06 -06:00
Conrad Irwin
331d334bae
Refactor to avoid some (mostly hypothetical) races
...
Tidy up added code to reduce duplicity of X and X_internals.
2023-10-18 21:42:10 -06:00
Max Brunsfeld
07e0674f68
Fix compile error in db seed executable
2023-10-18 18:05:51 -07:00
Max Brunsfeld
f0434bfebc
Fix possibility of extra mention insertion on nonce collision
2023-10-18 18:04:56 -07:00
Nate Butler
b652c4047b
WIP
2023-10-18 20:58:24 -04:00
Max Brunsfeld
256ef99284
Merge branch 'main' into notifications
2023-10-18 17:20:04 -07:00
Max Brunsfeld
d286c4441d
Persist chat mentions
2023-10-18 16:56:03 -07:00
Nate Butler
00b613e945
Remove debugs
2023-10-18 19:15:17 -04:00
Nate Butler
c6804b7ede
Use ui_size to build icon button
2023-10-18 19:12:02 -04:00
KCaverly
aa2df626a7
progress on smarter truncation strategy for file context
2023-10-18 17:56:59 -04:00
Conrad Irwin
8d9c9c16d4
Fix notifications on channel changes
2023-10-18 15:56:33 -06:00
Nate Butler and Marshall Bowers
5e571293c0
Update line heights, buttons to respond to UI scale
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com >
2023-10-18 17:55:17 -04:00
Nate Butler and Marshall Bowers
47e23fbbce
Use ui_size to set relative font sizes
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com >
2023-10-18 17:02:57 -04:00