This commit is contained in:
liubiren 2026-10-14 11:04:15 +08:00
parent 0927c1e940
commit 22d07cbb6e
3 changed files with 6 additions and 8 deletions

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from application.pages.task import create_task_page
from application.pages.task import task_page
from application.pages.knowledge_base import knowledge_base_page
from application.pages.login import login_page
__all__ = ["create_task_page", "knowledge_base_page", "login_page"]
__all__ = ["task_page", "knowledge_base_page", "login_page"]

View File

@ -1002,9 +1002,9 @@ def conversation_history_toggle_button(
)
def create_task_page() -> rx.Component:
def task_page() -> rx.Component:
"""
创建任务页面
任务页面
"""
return rx.box(
rx.hstack(

View File

@ -4,7 +4,7 @@
"""
import reflex as rx
from application.pages import create_task_page, knowledge_base_page, login_page
from application.pages import task_page, knowledge_base_page, login_page
from application.states import AuthState, TaskState
from application.states.models import TaskHistoryItem
@ -313,10 +313,8 @@ def workbench() -> rx.Component:
AuthState.activated_nav_button,
# 知识库页面
("knowledge_base", knowledge_base_page()),
# 创建任务页面
("create_task", create_task_page()),
# 会话页面
create_task_page(),
task_page(),
),
width="100%",
height="100vh",