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
@@ -113,6 +113,9 @@ export const useEventSourceManager = ({
|
||||
return false; // Already processed
|
||||
}
|
||||
processedSet.add(entryIndex);
|
||||
} else if (match && patch.op === 'remove') {
|
||||
const entryIndex = parseInt(match[1], 10);
|
||||
processedSet.delete(entryIndex);
|
||||
}
|
||||
// Always allow replace operations and non-entry patches
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user