Commit d0684a09 authored by Joel's avatar Joel

fix: switch conversation

parent ba9e2ea9
......@@ -7,7 +7,6 @@ import { ChevronDownIcon } from '@heroicons/react/24/outline'
import ModelIcon from '@/app/components/app/configuration/config-model/model-icon'
import { UNIVERSAL_CHAT_MODEL_LIST as MODEL_LIST } from '@/config'
console.log(MODEL_LIST)
export type IModelConfigProps = {
modelId: string
onChange: (model: string) => void
......
......@@ -229,6 +229,7 @@ const Main: FC<IMainProps> = () => {
setConversationIdChangeBecauseOfNew(false)
}
// trigger handleConversationSwitch
setCurrConversationId(id, APP_ID)
setIsShowSuggestion(false)
hideSidebar()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment