Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

269 B
Raw Blame
import { useFetchChat } from '@/hooks/use-chat-request';
import { hasWebSearchProvider } from './web-search-api-key';

export function useShowInternet() {
  const { data: currentDialog } = useFetchChat();

  return hasWebSearchProvider(currentDialog?.prompt_config);
}