File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -650,17 +650,10 @@ def _build_history_rows(self, full: bool = False) -> list[Any]:
650650 elapsed = ""
651651 if call is not None and call .elapsed is not None :
652652 elapsed = f" ({ call .elapsed :.1f} s)"
653- title = Text (f"{ marker } { name } result{ elapsed } :" , style = marker_style )
654- rows .append (
655- Panel (
656- preview ,
657- title = title ,
658- box = box .ROUNDED ,
659- expand = False ,
660- padding = (0 , 1 ),
661- style = "dim" ,
662- )
663- )
653+ row = Text (style = "dim" )
654+ row .append (f"{ marker } { name } result{ elapsed } :" , style = marker_style )
655+ row .append (f"\n { preview } " )
656+ rows .append (row )
664657 if call is not None and call .diff :
665658 rows .append (render_diff (call .diff ))
666659 return rows
Original file line number Diff line number Diff line change @@ -58,9 +58,9 @@ def test_render_conversation(self):
5858 self .assertIn ("file contents" , out )
5959 self .assertIn ("Todos" , out )
6060
61- def test_tool_result_boxed_with_marker_title (self ):
62- """Tool results render as a box whose title carries the
63- ✓/✗ marker (and the elapsed time when recorded)."""
61+ def test_tool_result_marker_with_elapsed (self ):
62+ """Tool results render as a plain dim text row whose first line
63+ carries the ✓/✗ marker (and the elapsed time when recorded)."""
6464 tui , buf = make_tui ()
6565 tui .session .last_messages = [
6666 Message (role = "user" , content = "run it" ),
You can’t perform that action at this time.
0 commit comments