mirror of
https://github.com/langgenius/dify.git
synced 2026-07-16 01:48:40 +08:00
15 lines
288 B
TypeScript
15 lines
288 B
TypeScript
'use client'
|
|
|
|
import { IS_DEV } from '@/config'
|
|
import dynamic from '@/next/dynamic'
|
|
|
|
const Agentation = dynamic(() => import('agentation').then((module) => module.Agentation), {
|
|
ssr: false,
|
|
})
|
|
|
|
export function AgentationLoader() {
|
|
if (!IS_DEV) return null
|
|
|
|
return <Agentation />
|
|
}
|