assistant2: Add button to open the prompt library (#23500)

This PR adds a button to open the prompt library from the configuration
view in Assistant2.

<img width="1309" alt="Screenshot 2025-01-22 at 5 38 08 PM"
src="https://github.com/user-attachments/assets/d514abca-53bc-4cde-bead-ab68a1994fb5"
/>

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-01-22 17:53:54 -05:00 committed by GitHub
parent 51fcb710d7
commit a1077c6fff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 76 additions and 11 deletions

View file

@ -82,7 +82,7 @@ pub mod assistant {
use schemars::JsonSchema;
use serde::Deserialize;
actions!(assistant, [ToggleFocus]);
actions!(assistant, [ToggleFocus, DeployPromptLibrary]);
#[derive(Clone, Default, Deserialize, PartialEq, JsonSchema)]
pub struct InlineAssist {