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.

769 B
Raw Blame
import { CommonLayoutHydrationBoundary } from '@/app/(commonLayout)/hydration-boundary'
import { ENABLE_HITL_IM } from '@/config'
import ConsoleHumanInputForm from '@/features/human-input/console/form'
import { notFound } from '@/next/navigation'

export default async function Page({ params }: { params: Promise<{ formToken: string }> }) {
  if (!ENABLE_HITL_IM) notFound()
  const { formToken } = await params

  return (
    <CommonLayoutHydrationBoundary>
      <main className="h-dvh min-w-75 bg-chatbot-bg px-[max(env(safe-area-inset-left),env(safe-area-inset-right))] pt-[env(safe-area-inset-top)] pb-[env(safe-area-inset-bottom)]">
        <ConsoleHumanInputForm key={formToken} formToken={formToken} />
      </main>
    </CommonLayoutHydrationBoundary>
  )
}