feat(gui): Add _render_thinking_trace helper and integrate into Discussion Hub

This commit is contained in:
2026-03-13 22:07:13 -04:00
parent 084f9429af
commit 1ad146b38e
3 changed files with 35 additions and 9 deletions

View File

@@ -1,6 +1,14 @@
import pytest
def test_render_thinking_trace_helper_exists():
from src.gui_2 import App
assert hasattr(App, "_render_thinking_trace"), (
"_render_thinking_trace helper should exist in App class"
)
def test_discussion_entry_with_thinking_segments():
entry = {
"role": "AI",
@@ -38,6 +46,7 @@ def test_thinking_segment_model_compatibility():
if __name__ == "__main__":
test_render_thinking_trace_helper_exists()
test_discussion_entry_with_thinking_segments()
test_discussion_entry_without_thinking()
test_thinking_segment_model_compatibility()