feat: 删除不需要的TodoList组件
This commit is contained in:
parent
4e2ff8b5be
commit
43471aacd1
|
|
@ -20,7 +20,7 @@ import {
|
||||||
useArtifacts,
|
useArtifacts,
|
||||||
} from "@/components/workspace/artifacts";
|
} from "@/components/workspace/artifacts";
|
||||||
import { useThreadChat } from "@/components/workspace/chats";
|
import { useThreadChat } from "@/components/workspace/chats";
|
||||||
import { DevTodoList } from "@/components/workspace/dev-todo-list";
|
// import { DevTodoList } from "@/components/workspace/dev-todo-list";
|
||||||
import { InputBox } from "@/components/workspace/input-box";
|
import { InputBox } from "@/components/workspace/input-box";
|
||||||
import { MessageList } from "@/components/workspace/messages";
|
import { MessageList } from "@/components/workspace/messages";
|
||||||
import { ThreadContext } from "@/components/workspace/messages/context";
|
import { ThreadContext } from "@/components/workspace/messages/context";
|
||||||
|
|
@ -267,7 +267,8 @@ export default function ChatPage() {
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-center justify-end gap-2 overflow-hidden">
|
<div className="flex items-center justify-end gap-2 overflow-hidden">
|
||||||
<DevTodoList
|
{/* 取消TodoList */}
|
||||||
|
{/* <DevTodoList
|
||||||
className="bg-white"
|
className="bg-white"
|
||||||
todos={thread.values.todos ?? []}
|
todos={thread.values.todos ?? []}
|
||||||
hidden={
|
hidden={
|
||||||
|
|
@ -282,7 +283,7 @@ export default function ChatPage() {
|
||||||
<ListTodoIcon className="size-4" /> To-dos
|
<ListTodoIcon className="size-4" /> To-dos
|
||||||
</Button>
|
</Button>
|
||||||
}
|
}
|
||||||
/>
|
/> */}
|
||||||
|
|
||||||
{artifacts?.length > 0 && !artifactsOpen && (
|
{artifacts?.length > 0 && !artifactsOpen && (
|
||||||
<Tooltip content="点击可查看生成的文件结果">
|
<Tooltip content="点击可查看生成的文件结果">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue