Duplicate events in UI Log for fix_pipeline
Problem to solve
When the fix pipeline flow is run, there are duplicate events in the ui log:
Langsmith does not show duplicate runs. However, the checkpoints show the duplicates:
workflow = Ai::DuoWorkflows::Workflow.last
logs = workflow.checkpoints.last.checkpoint['channel_values']['ui_chat_log']
logs.size
This started happening when I switched to using the OneOffComponent, so it might be a problem there.
Further details
Links / references
Edited by Roman Eisner
