- Enhance `upsertGroupFromDisplayEvent` to manage retry states and ensure only one retry row is displayed for each run. - Introduce `resolveRetryGroupId` to correctly identify the group ID for retries. - Update `completeProcessGroupById` and `upsertProcessItem` to utilize the new retry logic. - Modify `reduceAssistantTurnByRunEvent` to hide thinking indicators when a retry is in progress. - Add logic to `shouldShowAssistantThinkingIndicator` to account for running retries. - Implement tests for retry behavior in process events and ensure proper UI rendering during retries. - Create end-to-end tests to validate the behavior of retry rows and their interaction with thinking indicators. - Introduce utility functions for managing process state and usage metrics in tests.
2 lines
100 B
TypeScript
2 lines
100 B
TypeScript
export { reduceAssistantProcessGroups } from '../../../src/renderer/src/components/workbench/utils'
|