Extract PromptStore
and PromptBuilder
to new prompt_library
crate (#23254)
This PR adds a new `prompt_library` crate and extracts the `PromptStore` and `PromptBuilder` to it. Eventually we'll want to house the `PromptLibrary` itself in this crate, but right now that involves untangling a few dependencies. Release Notes: - N/A
This commit is contained in:
parent
c9f24c7d45
commit
1b1c2e55f3
24 changed files with 524 additions and 768 deletions
11
crates/prompt_library/src/prompt_library.rs
Normal file
11
crates/prompt_library/src/prompt_library.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
mod prompt_store;
|
||||
mod prompts;
|
||||
|
||||
use gpui::AppContext;
|
||||
|
||||
pub use crate::prompt_store::*;
|
||||
pub use crate::prompts::*;
|
||||
|
||||
pub fn init(cx: &mut AppContext) {
|
||||
prompt_store::init(cx);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue