Bennet Bo Fenner
c4dbe32f20
assistant: Limit amount of concurrent completion requests ( #13856 )
...
This PR refactors the completion providers to only process a maximum
amount of completion requests at a time.
Also started refactoring language model providers to use traits, so it's
easier to allow specifying multiple providers in the future.
Release Notes:
- N/A
2024-07-05 14:52:45 +02:00
Gilles Peiffer
065ab93ca7
Use user-defined font weight, where appropriate ( #13653 )
...
Release Notes:
- N/A
2024-07-01 09:45:01 -04:00
ᴀᴍᴛᴏᴀᴇʀ
922fcaf5a6
Add the ability to customize available models for OpenAI-compatible services ( #13276 )
...
Closes #11984 , closes #11075 .
Release Notes:
- Added the ability to customize available models for OpenAI-compatible
services ([#11984 ](https://github.com/zed-industries/zed/issues/11984 ))
([#11075 ](https://github.com/zed-industries/zed/issues/11075 )).

2024-06-25 16:37:02 -04:00
Antonio Scandurra
a4cdca5141
Refine UX for assistants ( #13502 )
...
<img width="1652" alt="image"
src="https://github.com/zed-industries/zed/assets/482957/376d1915-1e15-4d6c-966e-48f55f7cb249 ">
Release Notes:
- N/A
2024-06-25 13:41:55 +02:00
Tristan Hume
88000eb7e2
Fix bug with inline assist and indentation on empty lines ( #13489 )
...
Fix a minor bug when the inline assistant model spits out an empty line
with leading indentation on it. This happens sometimes with Claude 3.5
Sonnet and currently it causes the following line to have the wrong
indentation.
Release Notes:
- N/A
2024-06-25 10:11:21 +02:00
Antonio Scandurra
cb0b8b4c4b
Introduce multi-cursor inline transformations ( #13368 )
...
https://github.com/zed-industries/zed/assets/482957/591def34-e5c8-4402-9c6b-372cbca720c3
Release Notes:
- N/A
---------
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
2024-06-21 17:41:43 +02:00
Antonio Scandurra
6322351f00
Draw gutter highlights and indicators on top of blocks ( #13142 )
...
This ensures that the gutter progress in the inline assistant is
contiguous.
Release Notes:
- N/A
2024-06-17 15:34:05 +02:00
Antonio Scandurra
03c54623d4
Allow cursor to be moved into an unconfirmed prompt editor via esc ( #13134 )
...
This also swaps the icons in the prompt editor.
Release Notes:
- N/A
2024-06-17 12:19:06 +02:00
Richard Feldman
4855da53df
Don't hide inline assist when editor loses focus ( #12990 )
...
Release Notes:
- Now when an editor loses focus (e.g. from switching tabs) and then
gains focus again, it doesn't close the inline assist. Instead, it only
closes when you move the cursor outside of it, e.g. by clicking
somewhere else in its parent editor.
---------
Co-authored-by: Antonio Scandurra <me@as-cii.com>
2024-06-17 09:43:52 +02:00
Antonio Scandurra
e1f4dfc068
Refine inline transformation UX ( #12939 )
...
https://github.com/zed-industries/zed/assets/482957/1790e32e-1f59-4831-8a4c-722cf441e7e9
Release Notes:
- N/A
---------
Co-authored-by: Richard <richard@zed.dev>
Co-authored-by: Nathan <nathan@zed.dev>
2024-06-13 08:35:22 +02:00
Antonio Scandurra
53b0720d54
Remove headers from prompt library picker ( #12889 )
...
Also, as a drive-by, we're fixing up/down not working in inline
assistant editor.
Release Notes:
- N/A
2024-06-11 15:59:30 +02:00
Antonio Scandurra
98659eabf1
Overhaul inline assistant ( #12846 )
...
This pull request introduces a new diff mechanism that helps users
understand exactly which lines were changed by the LLM.
Release Notes:
- N/A
2024-06-11 12:39:45 +02:00
Antonio Scandurra
a0c0f1ebcd
Rename conversations to contexts ( #12724 )
...
This just changes nomenclature within the codebase and should have no
external effect.
Release Notes:
- N/A
2024-06-06 11:40:54 +02:00
Antonio Scandurra
7a05db6d3d
Cancel inline assist editor on blur if it wasn't confirmed ( #12684 )
...
Release Notes:
- N/A
2024-06-05 16:31:45 +02:00
Antonio Scandurra
3587e9726b
Support wrapping and hard newlines in inline assistant ( #12683 )
...
Release Notes:
- Improved UX for the inline assistant. It will now automatically wrap
when the text gets too long, and you can insert newlines using
`shift-enter`.
2024-06-05 16:10:56 +02:00
Antonio Scandurra
a96782cc6b
Allow using the inline assistant in prompt library ( #12680 )
...
Release Notes:
- N/A
2024-06-05 14:46:33 +02:00