| 
														 | 
														 | 
														 | 
														 | 
														 | 
													
													
												
													
														 | 
														 | 
														import TextGeneration from '@/app/components/app/text-generate/item' | 
														 | 
														 | 
														import TextGeneration from '@/app/components/app/text-generate/item' | 
													
													
												
													
														 | 
														 | 
														import { addFileInfos, sortAgentSorts } from '@/app/components/tools/utils' | 
														 | 
														 | 
														import { addFileInfos, sortAgentSorts } from '@/app/components/tools/utils' | 
													
													
												
													
														 | 
														 | 
														import MessageLogModal from '@/app/components/base/message-log-modal' | 
														 | 
														 | 
														import MessageLogModal from '@/app/components/base/message-log-modal' | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														import PromptLogModal from '@/app/components/base/prompt-log-modal' | 
													
													
												
													
														 | 
														 | 
														import { useStore as useAppStore } from '@/app/components/app/store' | 
														 | 
														 | 
														import { useStore as useAppStore } from '@/app/components/app/store' | 
													
													
												
													
														 | 
														 | 
														import { useAppContext } from '@/context/app-context' | 
														 | 
														 | 
														import { useAppContext } from '@/context/app-context' | 
													
													
												
													
														 | 
														 | 
														import useTimestamp from '@/hooks/use-timestamp' | 
														 | 
														 | 
														import useTimestamp from '@/hooks/use-timestamp' | 
													
													
												
											
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														 | 
													
													
												
													
														 | 
														 | 
														  const { userProfile: { timezone } } = useAppContext() | 
														 | 
														 | 
														  const { userProfile: { timezone } } = useAppContext() | 
													
													
												
													
														 | 
														 | 
														  const { formatTime } = useTimestamp() | 
														 | 
														 | 
														  const { formatTime } = useTimestamp() | 
													
													
												
													
														 | 
														 | 
														  const { onClose, appDetail } = useContext(DrawerContext) | 
														 | 
														 | 
														  const { onClose, appDetail } = useContext(DrawerContext) | 
													
													
												
													
														 | 
														 | 
														  const { currentLogItem, setCurrentLogItem, showMessageLogModal, setShowMessageLogModal, currentLogModalActiveTab } = useAppStore(useShallow(state => ({ | 
														 | 
														 | 
														 | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														  const { currentLogItem, setCurrentLogItem, showMessageLogModal, setShowMessageLogModal, showPromptLogModal, setShowPromptLogModal, currentLogModalActiveTab } = useAppStore(useShallow(state => ({ | 
													
													
												
													
														 | 
														 | 
														    currentLogItem: state.currentLogItem, | 
														 | 
														 | 
														    currentLogItem: state.currentLogItem, | 
													
													
												
													
														 | 
														 | 
														    setCurrentLogItem: state.setCurrentLogItem, | 
														 | 
														 | 
														    setCurrentLogItem: state.setCurrentLogItem, | 
													
													
												
													
														 | 
														 | 
														    showMessageLogModal: state.showMessageLogModal, | 
														 | 
														 | 
														    showMessageLogModal: state.showMessageLogModal, | 
													
													
												
													
														 | 
														 | 
														    setShowMessageLogModal: state.setShowMessageLogModal, | 
														 | 
														 | 
														    setShowMessageLogModal: state.setShowMessageLogModal, | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														    showPromptLogModal: state.showPromptLogModal, | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														    setShowPromptLogModal: state.setShowPromptLogModal, | 
													
													
												
													
														 | 
														 | 
														    currentLogModalActiveTab: state.currentLogModalActiveTab, | 
														 | 
														 | 
														    currentLogModalActiveTab: state.currentLogModalActiveTab, | 
													
													
												
													
														 | 
														 | 
														  }))) | 
														 | 
														 | 
														  }))) | 
													
													
												
													
														 | 
														 | 
														  const { t } = useTranslation() | 
														 | 
														 | 
														  const { t } = useTranslation() | 
													
													
												
											
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														 | 
													
													
												
													
														 | 
														 | 
														          defaultTab={currentLogModalActiveTab} | 
														 | 
														 | 
														          defaultTab={currentLogModalActiveTab} | 
													
													
												
													
														 | 
														 | 
														        /> | 
														 | 
														 | 
														        /> | 
													
													
												
													
														 | 
														 | 
														      )} | 
														 | 
														 | 
														      )} | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														      {showPromptLogModal && ( | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														        <PromptLogModal | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														          width={width} | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														          currentLogItem={currentLogItem} | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														          onCancel={() => { | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														            setCurrentLogItem() | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														            setShowPromptLogModal(false) | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														          }} | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														        /> | 
													
													
												
													
														 | 
														 | 
														 | 
														 | 
														 | 
														      )} | 
													
													
												
													
														 | 
														 | 
														    </div> | 
														 | 
														 | 
														    </div> | 
													
													
												
													
														 | 
														 | 
														  ) | 
														 | 
														 | 
														  ) | 
													
													
												
													
														 | 
														 | 
														} | 
														 | 
														 | 
														} |