const[showDrawer,setShowDrawer]=useState<boolean>(false)// Whether to display the chat details drawer
const[currentConversation,setCurrentConversation]=useState<ChatConversationGeneralDetail|CompletionConversationGeneralDetail|undefined>()// Currently selected conversation
constisChatMode=appDetail?.mode==='chat'// Whether the app is a chat app
constisChatMode=appDetail.mode!=='completion'// Whether the app is a chat app