From 73210a869048d6468b55717660d0ca558d0c2aab Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期一, 24 十一月 2025 09:49:43 +0800
Subject: [PATCH] 优化

---
 app/components/app/configuration/config/index.tsx |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/app/components/app/configuration/config/index.tsx b/app/components/app/configuration/config/index.tsx
index dc20955..429534b 100644
--- a/app/components/app/configuration/config/index.tsx
+++ b/app/components/app/configuration/config/index.tsx
@@ -9,10 +9,11 @@
 import ConfigVision from '../config-vision'
 import ConfigDocument from './config-document'
 import AgentTools from './agent/agent-tools'
+import CreateWorkflow from './agent/create-workFlow'
 import ConfigContext from '@/context/debug-configuration'
 import ConfigPrompt from '@/app/components/app/configuration/config-prompt'
 import ConfigVar from '@/app/components/app/configuration/config-var'
-import type { ModelConfig, PromptVariable } from '@/models/debug'
+import { type ModelConfig, type PromptVariable } from '@/models/debug'
 import type { AppType } from '@/types/app'
 import { ModelModeType } from '@/types/app'
 
@@ -57,7 +58,7 @@
   return (
     <>
       <div
-        className="relative h-0 grow overflow-y-auto px-6 pb-[50px]"
+        className="grow h-0 relative px-6 pb-[50px] overflow-y-auto"
       >
         {/* Template */}
         <ConfigPrompt
@@ -81,6 +82,10 @@
           <AgentTools />
         )}
 
+        {isAgent && (
+          <CreateWorkflow />
+        )}
+
         <ConfigVision />
 
         <ConfigDocument />

--
Gitblit v1.8.0