Kyle Caverly
e45491d2f8
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
58650b7d2d
Checkpoint - Still Broken
2023-10-19 14:38:01 -04:00
KCaverly
19c2df4822
outlined when truncation is taking place in the prompt
2023-10-19 14:33:52 -04:00
Marshall Bowers
d5fc831321
Restore more active styles
2023-10-19 14:23:45 -04:00
Marshall Bowers
743949753a
Fix mutual-exclusivity of right panels
2023-10-19 14:19:10 -04:00
Marshall Bowers
184f5f2397
Restore active styles for Inputs
2023-10-19 14:17:35 -04:00
Marshall Bowers
597aa0475e
Remove unused import
2023-10-19 14:10:13 -04:00
Marshall Bowers
70984faee2
Merge branch 'gpui2' of github.com:zed-industries/zed into gpui2
2023-10-19 14:06:35 -04:00
Marshall Bowers
e657e4d1d1
Wire up livestream debug toggle
2023-10-19 14:06:31 -04:00
Max Brunsfeld and Piotr
d62f114c02
Create notifications for mentioned users
...
Co-authored-by: Piotr <piotr@zed.dev >
2023-10-19 10:52:40 -07:00
Antonio Scandurra
9e20ccc01a
Checkpoint
2023-10-19 19:51:05 +02:00
Antonio Scandurra
1343ea66c9
Checkpoint
2023-10-19 19:51:05 +02:00
Antonio Scandurra
2b90b8d6b7
Checkpoint
2023-10-19 19:51:05 +02:00
Antonio Scandurra
90d34c1251
Checkpoint
2023-10-19 19:51:05 +02:00
Antonio Scandurra
93ff79febf
Checkpoint
2023-10-19 19:51:05 +02:00
Antonio Scandurra
7fef03a7db
Checkpoint
2023-10-19 19:51:05 +02:00
Antonio Scandurra
30269381e8
Checkpoint
2023-10-19 19:51:05 +02:00
Antonio Scandurra
9985f388ac
Checkpoint
2023-10-19 19:51:05 +02:00
Marshall Bowers
a869de3b1f
Add ability to toggle user settings
2023-10-19 13:38:19 -04:00
Marshall Bowers
4aac733238
Pass the settings to build_child
2023-10-19 13:23:08 -04:00
Marshall Bowers
7ed891e0c6
Merge branch 'gpui2' into gpui2ui-debug-panel
2023-10-19 13:04:37 -04:00
Marshall Bowers
a1f7a97ff5
Pull the settings from the global state
2023-10-19 13:02:32 -04:00
Nate Butler
bca97f7186
Checkpoint – Broken
2023-10-19 12:58:17 -04:00
Marshall Bowers
61e09ff532
Checkpoint: Thread WindowContext through to user_settings
2023-10-19 12:58:17 -04:00
Nate Butler
8e465b4393
Add basic debug panel
2023-10-19 12:09:39 -04:00
Marshall Bowers
b16d37953d
Use line_height in z_index stories
2023-10-19 12:06:05 -04:00
Marshall Bowers
f5c76d93bc
Add missing Arc for on_click handler
2023-10-19 10:25:54 -04:00
Antonio Scandurra
98c0e00a2c
Checkpoint
2023-10-19 15:52:17 +02:00
Antonio Scandurra
3d8e9a593e
Checkpoint
2023-10-19 15:44:02 +02:00
Antonio Scandurra
ffa3362e16
Checkpoint
2023-10-19 15:36:37 +02:00
Kirill Bulatov
999e9c3d5d
Sort hint request ranges before asserting to avoid flackiness ( #3142 )
2023-10-19 11:11:47 +03:00
Kirill Bulatov
40104c06e2
Sort hint request ranges before asserting to avoid flackiness
2023-10-19 11:05:47 +03:00
Julia
36731ba6b3
Magic incantations for Tailwind autocomplete in Svelte, Elixir ~H, Heex
2023-10-19 01:54:42 -04:00
Conrad Irwin
9d07561d99
Merge branch 'main' into pixel-columns
2023-10-18 23:00:56 -06:00
Conrad Irwin
3eb8aa8085
Refactor TextLayoutDetails construction
2023-10-18 22:56:11 -06:00
Conrad Irwin
138fa45ecb
recert config change
2023-10-18 22:23:38 -06:00
Conrad Irwin
cb76b2a6ad
Make vim visual block work better
2023-10-18 22:23:06 -06:00
Conrad Irwin
3853009d92
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
5257fb8533
Fix compile error in db seed executable
2023-10-18 18:05:51 -07:00
Max Brunsfeld
ac54d2b927
Fix possibility of extra mention insertion on nonce collision
2023-10-18 18:04:56 -07:00
Nate Butler
e34a488b55
WIP
2023-10-18 20:58:24 -04:00
Max Brunsfeld
b07f9fe3b5
Merge branch 'main' into notifications
2023-10-18 17:20:04 -07:00
Max Brunsfeld
d05404a4df
Persist chat mentions
2023-10-18 16:56:03 -07:00
Nate Butler
c22778bd92
Remove debugs
2023-10-18 19:15:17 -04:00
Nate Butler
65828c14fc
Use ui_size to build icon button
2023-10-18 19:12:02 -04:00
KCaverly
178a84bcf6
progress on smarter truncation strategy for file context
2023-10-18 17:56:59 -04:00
Conrad Irwin
2b11463567
Fix notifications on channel changes
2023-10-18 15:56:33 -06:00
Nate Butler and Marshall Bowers
7cb00aeb34
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
7b2782c0f6
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
KCaverly
587fd707ba
added smarter error handling for file_context prompts without provided buffers
2023-10-18 16:40:09 -04:00