Filter processes shown in conversation history (#1115)
* filter eps shown in convo * fmt
This commit is contained in:
committed by
GitHub
parent
e06dd1f6dc
commit
6bf7f494f3
@@ -105,7 +105,12 @@ export const useConversationHistory = ({
|
||||
|
||||
// Keep executionProcesses up to date
|
||||
useEffect(() => {
|
||||
executionProcesses.current = executionProcessesRaw;
|
||||
executionProcesses.current = executionProcessesRaw.filter(
|
||||
(ep) =>
|
||||
ep.run_reason === 'setupscript' ||
|
||||
ep.run_reason === 'cleanupscript' ||
|
||||
ep.run_reason === 'codingagent'
|
||||
);
|
||||
}, [executionProcessesRaw]);
|
||||
|
||||
const loadEntriesForHistoricExecutionProcess = (
|
||||
|
||||
Reference in New Issue
Block a user