From b85b7d970031a684113078ad05fa2c1f6340d4f2 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sat, 14 Mar 2026 09:21:44 -0400 Subject: [PATCH] fix(gui): fix incompatible collapsing_header argument when rendering thinking trace --- src/gui_2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui_2.py b/src/gui_2.py index c01e964..a6769b5 100644 --- a/src/gui_2.py +++ b/src/gui_2.py @@ -327,8 +327,8 @@ class App: imgui.push_style_color(imgui.Col_.child_bg, vec4(40, 35, 25, 180)) imgui.push_style_color(imgui.Col_.text, vec4(200, 200, 150)) imgui.indent() - header_id = f"thinking_header_{entry_index}" - if imgui.collapsing_header(f"Monologue ({len(segments)} traces)", header_id): + header_label = f"Monologue ({len(segments)} traces)###thinking_header_{entry_index}" + if imgui.collapsing_header(header_label): imgui.begin_child(f"thinking_content_{entry_index}", imgui.ImVec2(0, 80), True) for idx, seg in enumerate(segments): content = seg.get("content", "")