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:
committed by
GitHub
parent
74db7161b6
commit
0fdc73f8b7
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user