mirror of
https://github.com/langgenius/dify.git
synced 2026-09-02 14:25:35 +08:00
6 lines
846 B
Markdown
6 lines
846 B
Markdown
## Agent V2 Frontend
|
|
|
|
- Keep Agent V2 separate from legacy workflow Agent. Use `web/features/agent-v2`, `web/app/components/workflow/nodes/agent-v2`, the `agent_node_kind: 'dify_agent'` and `version: '2'` payload discriminator, and `BlockEnum.AgentV2` where the graph type is already migrated. Do not bridge Agent V2 to legacy `agent_strategy_*` behavior or data shapes.
|
|
- `agent-composer` owns editable Agent configuration state. `agent-detail/configure` composes that state with server synchronization, build draft commands, preview chat sessions, version viewing, and workspace panels; it must not create a second configuration store.
|
|
- Configure overlays stay with the feature component that owns the interaction and compose Dify UI primitives. Existing `ModalContext` consumers are migration boundaries, not an API for new Agent V2 dialogs.
|