Marshall Bowers
c255e55599
assistant2: Sketch in sending file context to model ( #21829 )
...
This PR sketches in support for sending file context attached to a
message to the model.
Right now the context is just mocked.
<img width="1159" alt="Screenshot 2024-12-10 at 4 18 41 PM"
src="https://github.com/user-attachments/assets/3ee4e86a-7893-42dc-98f9-982aa202d310 ">
<img width="1159" alt="Screenshot 2024-12-10 at 4 18 53 PM"
src="https://github.com/user-attachments/assets/8a3c2dd7-a466-4dbf-83ec-1c7d969c1a4b ">
Release Notes:
- N/A
2024-12-10 16:35:53 -05:00
Antonio Scandurra
b466a8b828
Remove the assistant2
crate ( #12380 )
...
Release Notes:
- N/A
2024-05-28 16:26:35 +02:00
Kyle Kelley
3e5dcd1bec
Attachment store for assistant2 ( #11327 )
...
This sets up a way for the user (or Zed) to _push_ context instead of
having the model retrieve it with a function. Our first use is the
contents of the current file.
<img width="399" alt="image"
src="https://github.com/zed-industries/zed/assets/836375/198429a5-82af-4b82-86f6-cb961f10de5c ">
<img width="393" alt="image"
src="https://github.com/zed-industries/zed/assets/836375/cfb52444-723b-4fc1-bddc-57e1810c512b ">
I heard the asst2 example was deleted in another branch so I deleted
that here too since we wanted the workspace access.
Release Notes:
- N/A
---------
Co-authored-by: Marshall <marshall@zed.dev>
2024-05-03 14:48:00 -07:00
Kyle Kelley
1915a756a0
Allow codebase search to be turned on or off within the composer for assistant2 ( #11315 )
...



Release Notes:
- N/A
2024-05-02 13:26:46 -07:00
Marshall Bowers
3dc5d48e0c
assistant2: Add ChatNotice
component ( #11262 )
...
This PR adds a new `ChatNotice` component for displaying notices within
the assistant.
We will be able to use this for allowing the user to confirm a project
index request.
<img width="518" alt="Screenshot 2024-05-01 at 2 41 31 PM"
src="https://github.com/zed-industries/zed/assets/1486634/3beaeeaf-6046-4284-ac0a-4248e1f9ac20 ">
Release Notes:
- N/A
2024-05-01 14:51:28 -04:00
Marshall Bowers
f2a1226e18
assistant2: Setup storybook ( #11228 )
...
This PR sets up the `assistant2` crate with the storybook so that UI
elements can be iterated on in isolation.
To start, we have some stories for the `ChatMessage` component:
```sh
cargo run -p storybook -- components/assistant_chat_message
```
<img width="1233" alt="Screenshot 2024-04-30 at 5 20 03 PM"
src="https://github.com/zed-industries/zed/assets/1486634/510967ea-0e9b-4fa9-94fb-421ee74bcc45 ">
Release Notes:
- N/A
2024-04-30 17:33:32 -04:00
Marshall Bowers
089ea7852d
assistant2: Use ChatMessage
component to render chat messages ( #11193 )
...
This PR updates the new assistant panel to use the `ChatMessage`
component to render its chat messages.
This also lays the foundation for collapsing the messages, though that
has yet to be wired up.
Adapted from the work on the `assistant-chat-ui` branch.
Release Notes:
- N/A
2024-04-29 18:47:16 -04:00
Marshall Bowers
ae650342ce
assistant2: Add headers to chat messages ( #11191 )
...
This PR adds headers to the chat messages in the new assistant panel.
Adapted from the work on the `assistant-chat-ui` branch.
Release Notes:
- N/A
2024-04-29 18:21:43 -04:00
Max Brunsfeld
1c09b69384
Pin message composer to the bottom of the new assistant panel ( #11186 )
...
Release Notes:
- N/A
---------
Co-authored-by: Marshall <marshall@zed.dev>
Co-authored-by: Nate <nate@zed.dev>
Co-authored-by: Kyle <kylek@zed.dev>
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
2024-04-29 14:26:19 -07:00