Add SelectedKnowledge component to OptionLayout and KnowledgeSelect

This commit is contained in:
n4ze3m
2024-04-06 10:48:51 +05:30
parent dd496b7b98
commit 82abbf5bad
4 changed files with 66 additions and 69 deletions

View File

@@ -19,6 +19,7 @@ import { getAllPrompts } from "@/db"
import { ShareBtn } from "~/components/Common/ShareBtn"
import { useTranslation } from "react-i18next"
import { OllamaIcon } from "../Icons/Ollama"
import { SelectedKnowledge } from "../Option/Knowledge/SelectedKnwledge"
export default function OptionLayout({
children
@@ -166,6 +167,7 @@ export default function OptionLayout({
}))}
/>
</div>
<SelectedKnowledge />
</div>
<div className="flex flex-1 justify-end px-4">
<div className="ml-4 flex items-center md:ml-6">