Fixes: Fixed some bugs #10703 (#11180)

### What problem does this PR solve?

Fixes: Fixed some bugs #10703

- Removed S3 upload from the file upload component
- Updated the dropdown menu style on the model provider page
- Updated some model provider icons
- Fixed other style issues

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-11-12 09:36:48 +08:00
committed by GitHub
parent 2c727a4a9c
commit 435479adb3
26 changed files with 190 additions and 302 deletions

View File

@ -69,7 +69,7 @@ const ApiKeyModal = ({
return (
<Modal
title={editMode ? t('editModel') : t('modify')}
title={t('configureModelTitle')}
open={visible}
onOpenChange={(open) => !open && hideModal()}
onOk={handleOk}
@ -77,6 +77,7 @@ const ApiKeyModal = ({
confirmLoading={loading}
okText={t('save')}
cancelText={t('cancel')}
className="!w-[600px]"
>
<Form {...form}>
<div className="space-y-4 py-4">
@ -85,9 +86,11 @@ const ApiKeyModal = ({
rules={{ required: t('apiKeyMessage') }}
render={({ field }) => (
<FormItem>
<FormLabel className="text-sm font-medium text-text-primary">
<FormLabel
className="text-sm font-medium text-text-secondary"
required
>
{t('apiKey')}
<span className="ml-1 text-destructive">*</span>
</FormLabel>
<FormControl>
<Input