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

@@ -37,7 +37,7 @@ separate_external_tools = false
"Context Hub" = true
"Files & Media" = true
"AI Settings" = true
"MMA Dashboard" = true
"MMA Dashboard" = false
"Task DAG" = false
"Usage Analytics" = false
"Tier 1" = false
@@ -51,10 +51,10 @@ separate_external_tools = false
"Discussion Hub" = true
"Operations Hub" = true
Message = false
Response = true
Response = false
"Tool Calls" = false
Theme = true
"Log Management" = true
"Log Management" = false
Diagnostics = false
"External Tools" = false
"Shader Editor" = false

View File

@@ -49,8 +49,8 @@ Size=716,455
Collapsed=0
[Window][Response]
Pos=2437,925
Size=1111,773
Pos=2258,1377
Size=1102,575
Collapsed=0
[Window][Tool Calls]
@@ -74,8 +74,8 @@ Collapsed=0
DockId=0xAFC85805,2
[Window][Theme]
Pos=0,703
Size=630,737
Pos=0,1423
Size=579,737
Collapsed=0
DockId=0x00000002,2
@@ -91,8 +91,8 @@ Collapsed=0
DockId=0x00000010,2
[Window][Context Hub]
Pos=0,703
Size=630,737
Pos=0,1423
Size=579,737
Collapsed=0
DockId=0x00000002,1
@@ -103,26 +103,26 @@ Collapsed=0
DockId=0x0000000D,0
[Window][Discussion Hub]
Pos=1263,22
Size=709,1418
Pos=2230,26
Size=1610,2134
Collapsed=0
DockId=0x00000013,0
[Window][Operations Hub]
Pos=632,22
Size=629,1418
Pos=581,26
Size=1647,2134
Collapsed=0
DockId=0x00000005,0
[Window][Files & Media]
Pos=0,703
Size=630,737
Pos=0,1423
Size=579,737
Collapsed=0
DockId=0x00000002,0
[Window][AI Settings]
Pos=0,22
Size=630,679
Pos=0,26
Size=579,1395
Collapsed=0
DockId=0x00000001,0
@@ -132,16 +132,16 @@ Size=416,325
Collapsed=0
[Window][MMA Dashboard]
Pos=1974,22
Size=586,1418
Pos=3360,26
Size=480,2134
Collapsed=0
DockId=0x00000010,0
[Window][Log Management]
Pos=1974,22
Size=586,1418
Pos=3360,26
Size=480,2134
Collapsed=0
DockId=0x00000010,1
DockId=0x00000010,0
[Window][Track Proposal]
Pos=709,326
@@ -175,7 +175,7 @@ Size=381,329
Collapsed=0
[Window][Last Script Output]
Pos=2810,265
Pos=927,1365
Size=800,562
Collapsed=0
@@ -220,7 +220,7 @@ Size=900,700
Collapsed=0
[Window][Text Viewer - text]
Pos=60,60
Pos=122,1237
Size=900,700
Collapsed=0
@@ -366,7 +366,7 @@ Size=900,700
Collapsed=0
[Window][Text Viewer - Entry #4]
Pos=1127,922
Pos=1247,1182
Size=900,700
Collapsed=0
@@ -498,19 +498,19 @@ Column 1 Weight=1.0000
DockNode ID=0x00000008 Pos=3125,170 Size=593,1157 Split=Y
DockNode ID=0x00000009 Parent=0x00000008 SizeRef=1029,147 Selected=0x0469CA7A
DockNode ID=0x0000000A Parent=0x00000008 SizeRef=1029,145 Selected=0xDF822E02
DockSpace ID=0xAFC85805 Window=0x079D3A04 Pos=0,22 Size=2560,1418 Split=X
DockNode ID=0x00000003 Parent=0xAFC85805 SizeRef=1640,1183 Split=X
DockSpace ID=0xAFC85805 Window=0x079D3A04 Pos=0,26 Size=3840,2134 Split=X
DockNode ID=0x00000003 Parent=0xAFC85805 SizeRef=3358,1183 Split=X
DockNode ID=0x0000000B Parent=0x00000003 SizeRef=404,1186 Split=X Selected=0xF4139CA2
DockNode ID=0x00000007 Parent=0x0000000B SizeRef=630,858 Split=Y Selected=0x8CA2375C
DockNode ID=0x00000007 Parent=0x0000000B SizeRef=579,858 Split=Y Selected=0x8CA2375C
DockNode ID=0x00000001 Parent=0x00000007 SizeRef=824,525 CentralNode=1 Selected=0x7BD57D6A
DockNode ID=0x00000002 Parent=0x00000007 SizeRef=824,737 Selected=0x8CA2375C
DockNode ID=0x0000000E Parent=0x0000000B SizeRef=1340,858 Split=X Selected=0x418C7449
DockNode ID=0x00000012 Parent=0x0000000E SizeRef=629,402 Split=Y Selected=0x418C7449
DockNode ID=0x0000000E Parent=0x0000000B SizeRef=3259,858 Split=X Selected=0x418C7449
DockNode ID=0x00000012 Parent=0x0000000E SizeRef=1647,402 Split=Y Selected=0x418C7449
DockNode ID=0x00000005 Parent=0x00000012 SizeRef=876,1749 Selected=0x418C7449
DockNode ID=0x00000006 Parent=0x00000012 SizeRef=876,362 Selected=0x1D56B311
DockNode ID=0x00000013 Parent=0x0000000E SizeRef=709,402 Selected=0x6F2B5B04
DockNode ID=0x00000013 Parent=0x0000000E SizeRef=1610,402 Selected=0x6F2B5B04
DockNode ID=0x0000000D Parent=0x00000003 SizeRef=435,1186 Selected=0x363E93D6
DockNode ID=0x00000004 Parent=0xAFC85805 SizeRef=586,1183 Split=Y Selected=0x3AEC3498
DockNode ID=0x00000004 Parent=0xAFC85805 SizeRef=480,1183 Split=Y Selected=0x3AEC3498
DockNode ID=0x00000010 Parent=0x00000004 SizeRef=1199,1689 Selected=0x2C0206CE
DockNode ID=0x00000011 Parent=0x00000004 SizeRef=1199,420 Split=X Selected=0xDEB547B6
DockNode ID=0x0000000C Parent=0x00000011 SizeRef=916,380 Selected=0x655BC6E9

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:
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)
ch, entry["content"] = imgui.input_text_multiline("##content", entry["content"], imgui.ImVec2(-1, 150))
imgui.separator()
imgui.pop_id()
if self._scroll_disc_to_bottom:
imgui.set_scroll_here_y(1.0)