From 19ee2c2f92a1e7d952ac418a7cbcfccb893a43ad Mon Sep 17 00:00:00 2001 From: SengokuCola <1026294844@qq.com> Date: Fri, 10 Apr 2026 01:10:21 +0800 Subject: [PATCH] Update runtime.py --- src/maisaka/runtime.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/maisaka/runtime.py b/src/maisaka/runtime.py index ccb3834b..79ca7197 100644 --- a/src/maisaka/runtime.py +++ b/src/maisaka/runtime.py @@ -981,7 +981,7 @@ class MaisakaHeartFlowChatting: if not fallback_lines: return [] - fallback_border_style = "blue" if planner_style else "magenta" + fallback_border_style = "yellow" return [ Panel( Text("\n".join(fallback_lines)), @@ -1213,12 +1213,12 @@ class MaisakaHeartFlowChatting: ) -> list[RenderableType]: """构建工具卡片默认内容块。""" - argument_border_style = "blue" if planner_style else "cyan" - metrics_border_style = "bright_blue" if planner_style else "bright_cyan" - prompt_border_style = "bright_blue" if planner_style else "bright_yellow" - reasoning_border_style = "blue" if planner_style else "magenta" - output_border_style = "bright_blue" if planner_style else "green" - extra_info_border_style = "cyan" if planner_style else "white" + argument_border_style = "yellow" + metrics_border_style = "bright_yellow" + prompt_border_style = "bright_yellow" + reasoning_border_style = "yellow" + output_border_style = "bright_yellow" + extra_info_border_style = "yellow" detail_labels = self._get_tool_detail_labels(tool_name) parts: list[RenderableType] = [] @@ -1318,8 +1318,8 @@ class MaisakaHeartFlowChatting: ) -> list[RenderableType]: """将 tool monitor detail 渲染为与 Planner/Timing 平级的工具卡片。""" - detail_panel_border_style = "blue" if planner_style else "yellow" - sub_card_border_style = "cyan" if planner_style else "white" + detail_panel_border_style = "yellow" + sub_card_border_style = "bright_yellow" panels: list[RenderableType] = [] for tool_result in tool_detail_results: