diff --git a/frontend/src/components/sidebar.py b/frontend/src/components/sidebar.py index c04a03b..14ca9cd 100644 --- a/frontend/src/components/sidebar.py +++ b/frontend/src/components/sidebar.py @@ -106,7 +106,7 @@ def _render_thread_item(thread: dict): is_current = thread_id == AppState.get_current_thread_id() # 根据是否当前线程改变按钮样式 - btn_type = "primary" if is_current else "tertiary" + btn_type = "primary" if is_current else "secondary" # 为了避免内容过长,截断摘要 display_text = summary[:15] + "..." if len(summary) > 15 else summary