fix(gui): Move thinking trace rendering BEFORE response - now hidden by default

This commit is contained in:
2026-03-13 23:15:20 -04:00
parent 9515dee44d
commit bc00fe1197
3 changed files with 36 additions and 35 deletions

View File

@@ -29,6 +29,7 @@ from src import mcp_client
from src import markdown_helper
from src import bg_shader
from src import thinking_parser
from src import thinking_parser
import re
import subprocess
if sys.platform == "win32":
@@ -2319,11 +2320,11 @@ def hello():
if self.ui_word_wrap: imgui.pop_text_wrap_pos()
imgui.end_child()
else:
thinking_segments = entry.get("thinking_segments", [])
if thinking_segments:
self._render_thinking_trace(thinking_segments, i)
ch, entry["content"] = imgui.input_text_multiline("##content", entry["content"], imgui.ImVec2(-1, 150))
imgui.separator()
thinking_segments = entry.get("thinking_segments", [])
if thinking_segments:
self._render_thinking_trace(thinking_segments, i)
imgui.pop_id()
if self._scroll_disc_to_bottom:
imgui.set_scroll_here_y(1.0)