Improve normalized logs (#455)

* Increase broadcast channel size

* Use stdout_lines_stream

* WIP fix amp logs containing all previous conversation turns

* Mark raw and normalized log streams from the DB as finished

* Update event source manager to handle removed entries

* Clippy

* Cargo fmt
This commit is contained in:
Louis Knight-Webb
2025-08-12 16:31:56 +01:00
committed by GitHub
parent 74db7161b6
commit 0fdc73f8b7
8 changed files with 109 additions and 115 deletions

View File

@@ -94,10 +94,10 @@ impl ConversationPatch {
}
/// Create a REMOVE patch for removing a diff
pub fn remove_diff(entry_index: String, path: &str) -> Patch {
pub fn remove_diff(entry_index: String) -> Patch {
from_value(json!([{
"op": PatchOperation::Remove,
path: format!("/entries/{entry_index}"),
"path": format!("/entries/{entry_index}"),
}]))
.unwrap()
}