This commit is contained in:
parent
e65044cc78
commit
7f6a992830
|
|
@ -775,7 +775,7 @@ def render_conversation_history_collapse_button(
|
|||
|
||||
def render_conversation() -> rx.Component:
|
||||
"""
|
||||
渲染会话页面:布局参考 MetaChat,左侧为折叠面板,右侧为展示和操作区。其中,若对话历史为空则展示欢迎文案,否则展示对话历史
|
||||
渲染会话页面:布局参考 MetaChat,左侧为折叠面板,右侧为工作区。其中,工作区包含展示区和操作区。若对话历史为空则展示欢迎文案,否则展示对话历史
|
||||
"""
|
||||
# 会话历史展示状态
|
||||
is_conversation_history_shown = ConversationState.is_conversation_history_shown
|
||||
|
|
@ -784,7 +784,7 @@ def render_conversation() -> rx.Component:
|
|||
rx.hstack(
|
||||
# 渲染折叠面板
|
||||
render_collapse(is_conversation_history_shown),
|
||||
# 渲染会话工作区
|
||||
# 渲染工作区
|
||||
render_workplace(),
|
||||
position="relative",
|
||||
display="flex",
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue