From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001
From: wwf <yearningwang@iqtogether.com>
Date: 星期三, 04 六月 2025 15:17:49 +0800
Subject: [PATCH] 初始化

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

diff --git a/app/components/app/configuration/config-prompt/index.tsx b/app/components/app/configuration/config-prompt/index.tsx
index 1caca47..64870b7 100644
--- a/app/components/app/configuration/config-prompt/index.tsx
+++ b/app/components/app/configuration/config-prompt/index.tsx
@@ -8,7 +8,6 @@
 } from '@remixicon/react'
 import { useTranslation } from 'react-i18next'
 import SimplePromptInput from './simple-prompt-input'
-import Button from '@/app/components/base/button'
 import AdvancedMessageInput from '@/app/components/app/configuration/config-prompt/advanced-prompt-input'
 import { PromptRole } from '@/models/debug'
 import type { PromptItem, PromptVariable } from '@/models/debug'
@@ -156,12 +155,12 @@
         }
       </div>
       {(modelModeType === ModelModeType.chat && (currentAdvancedPrompt as PromptItem[]).length < MAX_PROMPT_MESSAGE_LENGTH) && (
-        <Button
+        <div
           onClick={handleAddMessage}
-          className='mt-3 w-full'>
-          <RiAddLine className='mr-2 h-4 w-4' />
+          className='mt-3 flex items-center h-8 justify-center bg-gray-50 rounded-lg cursor-pointer text-[13px] font-medium text-gray-700 space-x-2'>
+          <RiAddLine className='w-4 h-4' />
           <div>{t('appDebug.promptMode.operation.addMessage')}</div>
-        </Button>
+        </div>
       )}
     </div>
   )

--
Gitblit v1.8.0