mirror of
				https://github.com/langgenius/dify.git
				synced 2025-11-04 04:43:09 +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'
 | 
						|
}
 |