agent: Add item to open Prompt Library in the panel's menu (#28877)
Release Notes: - agent: Added a menu item to open the Prompt Library from the panel's dropdown menu on the top right.
This commit is contained in:
parent
456e54b87c
commit
db94d6d767
3 changed files with 6 additions and 4 deletions
|
@ -1113,16 +1113,16 @@ impl AssistantPanel {
|
|||
"New Text Thread",
|
||||
NewTextThread.boxed_clone(),
|
||||
)
|
||||
.action("Settings", OpenConfiguration.boxed_clone())
|
||||
.action("Prompt Library", Box::new(OpenPromptLibrary))
|
||||
.action("Settings", Box::new(OpenConfiguration))
|
||||
.separator()
|
||||
.action(
|
||||
"Install MCPs",
|
||||
zed_actions::Extensions {
|
||||
Box::new(zed_actions::Extensions {
|
||||
category_filter: Some(
|
||||
zed_actions::ExtensionCategoryFilter::ContextServers,
|
||||
),
|
||||
}
|
||||
.boxed_clone(),
|
||||
}),
|
||||
)
|
||||
},
|
||||
))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue