- [x] bug: setting a key doesn't update anything - [x] show high-level text on configuration page to explain what it is - [x] show "everything okay!" status when credentials are set - [x] maybe: add "verify" button to check credentials - [x] open configuration page when opening panel for first time and nothing is configured - [x] BUG: need to fix empty assistant panel if provider is `zed.dev` but not logged in Co-Authored-By: Thorsten <thorsten@zed.dev> Release Notes: - N/A --------- Co-authored-by: Thorsten <thorsten@zed.dev> Co-authored-by: Nate Butler <iamnbutler@gmail.com> Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
1.2 KiB
Using the Assistant
Once you have configured a provider, you can interact with the provider's language models in a context editor.
To create a new context editor, use the menu in the top right of the assistant panel and the New Context option.
In the context editor, select a model from one of the configured providers, type a message in the You block, and submit with cmd-enter (or ctrl-enter on Linux).
Inline assistant
When you're in a normal editor, you can use ctrl-enter to open the inline assistant.
The inline assistant allows you to send the current selection (or the current line) to a language model and modify the selection with the language model's response.
Adding Prompts
You can customize the default prompts that are used in new context editor, by opening the Prompt Library.
Open the Prompt Library using either the menu in the top right of the assistant panel and choosing the Prompt Library option, or by using the assistant: deploy prompt library command when the assistant panel is focused.
Viewing past contexts
You view all previous contexts by opening up the History tab in the assistant panel.
Open the History using the menu in the top right of the assistant panel and choosing the History.