mirror of
				https://github.com/langgenius/dify.git
				synced 2025-10-31 02:42:59 +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'
 | |
| }
 | 
