公告板
版本库
filestore
活动
搜索
登录
ai_exam
/
app-qxueyou-dify
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
初始化
wwf
2025-05-20
938c3e5a587ce950a94964ea509b9e7f8834dfae
[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'
}