Skip to content

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:

Automate___GitLab_org___duo-workflow___Test_Project_Playground___Roman_-Fix_Pipeline_Examples___AI_Gateway___GitLab__1

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