Add SelectedKnowledge component to OptionLayout and KnowledgeSelect
This commit is contained in:
@@ -35,8 +35,7 @@ export const PlaygroundForm = ({ dropedFile }: Props) => {
|
||||
selectedQuickPrompt,
|
||||
textareaRef,
|
||||
setSelectedQuickPrompt,
|
||||
selectedKnowledge,
|
||||
setSelectedKnowledge
|
||||
selectedKnowledge
|
||||
} = useMessageOption()
|
||||
|
||||
const textAreaFocus = () => {
|
||||
@@ -158,7 +157,6 @@ export const PlaygroundForm = ({ dropedFile }: Props) => {
|
||||
}
|
||||
return (
|
||||
<div className="px-3 pt-3 md:px-6 md:pt-6 bg-gray-50 dark:bg-[#262626] border rounded-t-xl dark:border-gray-600">
|
||||
|
||||
<div
|
||||
className={`h-full rounded-md shadow relative ${
|
||||
form.values.image.length === 0 ? "hidden" : "block"
|
||||
|
||||
Reference in New Issue
Block a user