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.

543 B
Raw Blame
import type { LegacyToolsSearchParams } from '@/app/components/integrations/routes'
import { getIntegrationRedirectPathByLegacyToolsSearchParams } from '@/app/components/integrations/routes'
import { redirect } from '@/next/navigation'

type ToolsPageProps = {
  searchParams?: Promise<LegacyToolsSearchParams>
}

const ToolsPage = async ({ searchParams }: ToolsPageProps) => {
  const resolvedSearchParams = await searchParams

  redirect(getIntegrationRedirectPathByLegacyToolsSearchParams(resolvedSearchParams))
}

export default ToolsPage