公告板
版本库
filestore
活动
搜索
登录
ai_exam
/
app-qxueyou-dify
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
初始化
wwf
3 天以前
a430284aa21e3ae1f0d5654e55b2ad2852519cc2
[ai_exam/app-qxueyou-dify.git]
/
app
/
components
/
workflow-app
/
hooks
/
use-is-chat-mode.ts
1
2
3
4
5
6
7
import { useStore as useAppStore } from '@/app/components/app/store'
export const useIsChatMode = () => {
const appDetail = useAppStore(s => s.appDetail)
return appDetail?.mode === 'advanced-chat'
}