Add streaming_diff
crate (#23264)
This PR extracts the streaming diff implementation to its own `streaming_diff` crate. It was duplicated between `assistant` and `assistant2`, but their implementations were exactly the same (and I don't see a reason why they would need to diverge). Release Notes: - N/A
This commit is contained in:
parent
4d22f7e529
commit
24495f09f9
12 changed files with 41 additions and 1113 deletions
|
@ -9,7 +9,6 @@ mod prompt_library;
|
|||
mod slash_command;
|
||||
pub(crate) mod slash_command_picker;
|
||||
pub mod slash_command_settings;
|
||||
mod streaming_diff;
|
||||
mod terminal_inline_assistant;
|
||||
|
||||
use std::path::PathBuf;
|
||||
|
@ -39,7 +38,6 @@ pub use crate::context_store::*;
|
|||
pub(crate) use crate::inline_assistant::*;
|
||||
pub use crate::patch::*;
|
||||
use crate::slash_command_settings::SlashCommandSettings;
|
||||
pub(crate) use crate::streaming_diff::*;
|
||||
|
||||
actions!(
|
||||
assistant,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue