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

@ -68,6 +68,7 @@ export const LlmIcon = ({
LLMFactory.FishAudio,
LLMFactory.TogetherAI,
LLMFactory.Meituan,
LLMFactory.Longcat,
];
let icon = useMemo(() => {
const icontemp = IconMap[name as keyof typeof IconMap];
@ -84,7 +85,7 @@ export const LlmIcon = ({
const svgIcons = [
LLMFactory.LocalAI,
// LLMFactory.VolcEngine,
LLMFactory.MiniMax,
// LLMFactory.MiniMax,
LLMFactory.Gemini,
LLMFactory.StepFun,
// LLMFactory.DeerAPI,
@ -101,9 +102,16 @@ export const LlmIcon = ({
}
return icon ? (
<IconFontFill name={icon} className={cn('size-8', imgClass)} />
<IconFontFill
name={icon}
className={cn('size-8 flex items-center justify-center', imgClass)}
/>
) : (
<Avatar shape="square" size={size} icon={<UserOutlined />} />
<IconFontFill
name={'moxing-default'}
className={cn('size-8 flex items-center justify-center', imgClass)}
/>
// <Avatar shape="square" size={size} icon={<UserOutlined />} />
);
};