mirror of
https://github.com/langgenius/dify.git
synced 2025-07-19 15:42:28 +00:00
8 lines
205 B
TypeScript
8 lines
205 B
TypeScript
![]() |
import { useStore as useAppStore } from '@/app/components/app/store'
|
||
|
|
||
|
export const useIsChatMode = () => {
|
||
|
const appDetail = useAppStore(s => s.appDetail)
|
||
|
|
||
|
return appDetail?.mode === 'advanced-chat'
|
||
|
}
|