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:
parent
51fcb710d7
commit
a1077c6fff
5 changed files with 76 additions and 11 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue