From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +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