fix: 删除正在初始化skill的文字;注释侧边栏

This commit is contained in:
肖应宇 2026-03-23 17:25:17 +08:00
parent d2d3b73f53
commit fd43a7ae68
2 changed files with 4 additions and 3 deletions

View File

@ -471,11 +471,12 @@ export default function ChatPage() {
onSubmit={handleSubmit} onSubmit={handleSubmit}
onStop={handleStop} onStop={handleStop}
/> />
{isSelectedSkillBootstrapping && (
{/* {isSelectedSkillBootstrapping && (
<div className="text-muted-foreground w-full translate-y-8 text-center text-xs"> <div className="text-muted-foreground w-full translate-y-8 text-center text-xs">
Skill ... Skill ...
</div> </div>
)} )} */}
{env.NEXT_PUBLIC_STATIC_WEBSITE_ONLY === "true" && ( {env.NEXT_PUBLIC_STATIC_WEBSITE_ONLY === "true" && (
<div className="text-muted-foreground/67 w-full translate-y-12 text-center text-xs"> <div className="text-muted-foreground/67 w-full translate-y-12 text-center text-xs">
{t.common.notAvailableInDemoMode} {t.common.notAvailableInDemoMode}

View File

@ -43,7 +43,7 @@ export default function WorkspaceLayout({
onOpenChange={handleOpenChange} onOpenChange={handleOpenChange}
> >
{/* MARK: 生产环境下必须注释才能提交!!!! */} {/* MARK: 生产环境下必须注释才能提交!!!! */}
{!isSkillMode && <WorkspaceSidebar className="" />} {/* {!isSkillMode && <WorkspaceSidebar className="" />} */}
<SidebarInset className="min-w-0">{children}</SidebarInset> <SidebarInset className="min-w-0">{children}</SidebarInset>
</SidebarProvider> </SidebarProvider>
<Toaster <Toaster