This commit is contained in:
liubiren 2026-07-23 00:01:46 +08:00
parent e65044cc78
commit 7f6a992830
2 changed files with 2 additions and 2 deletions

View File

@ -775,7 +775,7 @@ def render_conversation_history_collapse_button(
def render_conversation() -> rx.Component: def render_conversation() -> rx.Component:
""" """
渲染会话页面布局参考 MetaChat左侧为折叠面板右侧为展示和操作区其中若对话历史为空则展示欢迎文案否则展示对话历史 渲染会话页面布局参考 MetaChat左侧为折叠面板右侧为工作区其中工作区包含展示区和操作区若对话历史为空则展示欢迎文案否则展示对话历史
""" """
# 会话历史展示状态 # 会话历史展示状态
is_conversation_history_shown = ConversationState.is_conversation_history_shown is_conversation_history_shown = ConversationState.is_conversation_history_shown
@ -784,7 +784,7 @@ def render_conversation() -> rx.Component:
rx.hstack( rx.hstack(
# 渲染折叠面板 # 渲染折叠面板
render_collapse(is_conversation_history_shown), render_collapse(is_conversation_history_shown),
# 渲染会话工作区 # 渲染工作区
render_workplace(), render_workplace(),
position="relative", position="relative",
display="flex", display="flex",

Binary file not shown.