dify/web/features/agent-v2/feature-flag.ts
Zhu Lei c157e59d58
fix(agent): persist Chatflow Agent V2 memory by conversation_id (#41871)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yunlu Wen <yunlu.wen@dify.ai>
2026-09-08 03:31:01 +00:00

6 lines
192 B
TypeScript

import { env } from '@/env'
export const isAgentV2Enabled = () => env.NEXT_PUBLIC_ENABLE_AGENT_V2
export const isAgentV2InChatflowEnabled = () => env.NEXT_PUBLIC_ENABLE_AGENT_V2_IN_CHATFLOW