Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix(web): list the agent flow type card first (#18808)

chanxe9d7aed9949d
diff --git a/web/src/pages/agents/create-agent-form.tsx b/web/src/pages/agents/create-agent-form.tsx
index 11db63cfdc..c17d39f37a 100644
--- a/web/src/pages/agents/create-agent-form.tsx
+++ b/web/src/pages/agents/create-agent-form.tsx
@@ -41,7 +41,7 @@ function FlowTypeCards({ value, onChange }: FlowTypeCardProps) {
return (
<section className="flex gap-10">
- {[FlowType.Flow, FlowType.Compiler, FlowType.Agent].map((val) => {
+ {[FlowType.Agent, FlowType.Flow, FlowType.Compiler].map((val) => {
const isActive = value === val;
const config = FlowTypeConfig[val];
const Icon = config.icon;