Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

442 B
Raw Blame
'use client'

import type { ReactNode } from 'react'
import { QueryStateProvider as UrlStateProvider } from 'nuqs-jotai'
import { newRagQueryGroups } from '@/features/new-rag/query-groups'

/** Registered once under the root NuqsAdapter; feature scopes retain their own state. */
export function QueryStateProvider({ children }: { children: ReactNode }) {
  return <UrlStateProvider groups={newRagQueryGroups}>{children}</UrlStateProvider>
}