Commit Graph
39175 Commits
Author SHA1 Message Date
Marshall Bowers 50659ef467 Wire up active style for Breadcrumb 2023-10-19 16:13:25 -04:00
Marshall Bowers 74a1b85960 Identify IconButton 2023-10-19 16:12:21 -04:00
Kyle Caverly bbce171a4a decrease temperature for inline assist on code content (#3145)
"Temperature" is a parameter in OpenAI GPT models, to control for
randomess in the generated content. To decrease the probability of
either escaping the markdown blocks and creating invalid code, we
decreased temperature for all Non-Prose files. For Markdown or Plain
Text, in which more creativity may be a good thing, we increase the
temperature to allow for more randomness. Along with this, we ask the
generate inline prompt to include only the code and not markdown blocks,
as it appears that lower temperature may decrease the probability of
introducing random markdown blocks.

Release Notes (Internal Only):
- Decrease temperature for inline assist on code content.
2023-10-19 16:11:29 -04:00
Marshall Bowers 769c07bc43 Merge branch 'gpui2' into gpui2-theme-to-color 2023-10-19 16:10:44 -04:00
Antonio Scandurra b435d73557 Checkpoint 2023-10-19 22:10:39 +02:00
Antonio Scandurra 4c92a46df1 Checkpoint 2023-10-19 22:05:01 +02:00
Antonio Scandurra cf8738a3b3 Checkpoint 2023-10-19 22:05:01 +02:00
Antonio Scandurra b7033b6c77 Checkpoint 2023-10-19 22:05:01 +02:00
Antonio Scandurra 99f41eef72 Checkpoint 2023-10-19 22:05:01 +02:00
Antonio Scandurra bb0a51d80f Checkpoint 2023-10-19 22:05:01 +02:00
Max Brunsfeld d461c7eb43 Index notifications to allow faster lookup by kind, entity id 2023-10-19 13:03:27 -07:00
Max Brunsfeld b938e8bbad Fix filtering when providing non-admins info about channel members 2023-10-19 12:54:47 -07:00
KCaverly 3b022137e4 decrease temperature for inline assist on code content 2023-10-19 15:44:49 -04:00
Max Brunsfeld 041dde562a Render read notifications in a different color 2023-10-19 12:40:10 -07:00
Max Brunsfeld e7f43c9e6b Navigate to chat messages when clicking them in the notification panel 2023-10-19 12:31:45 -07:00
Conrad Irwin db582b776b Add read-only channel notes support
Fix some bugs where ChannelNotes and ChannelChat had old cached channel
instances
2023-10-19 13:20:49 -06:00
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 BrunsfeldandPiotr 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