mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-10 14:27:00 +08:00
Merge branch 'dev' into openclaw
This commit is contained in:
4
web/public/icons/minimax.svg
Normal file
4
web/public/icons/minimax.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
|
||||
<rect width="24" height="24" rx="4" fill="#E45735"/>
|
||||
<text x="12" y="16" text-anchor="middle" font-family="Arial, sans-serif" font-weight="bold" font-size="10" fill="white">M</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 266 B |
@@ -98,6 +98,11 @@ const AI_PROVIDER_CONFIG: Record<string, {
|
||||
apiUrl: 'https://platform.moonshot.ai/console/api-keys',
|
||||
apiName: 'Moonshot',
|
||||
},
|
||||
minimax: {
|
||||
defaultModel: 'MiniMax-M2.5',
|
||||
apiUrl: 'https://platform.minimax.io',
|
||||
apiName: 'MiniMax',
|
||||
},
|
||||
}
|
||||
|
||||
interface AITradersPageProps {
|
||||
|
||||
@@ -13,6 +13,7 @@ const MODEL_COLORS: Record<string, string> = {
|
||||
gemini: '#4285F4',
|
||||
grok: '#000000',
|
||||
openai: '#10A37F',
|
||||
minimax: '#E45735',
|
||||
}
|
||||
|
||||
// 获取AI模型图标的函数
|
||||
@@ -44,6 +45,9 @@ export const getModelIcon = (modelType: string, props: IconProps = {}) => {
|
||||
case 'openai':
|
||||
iconPath = '/icons/openai.svg'
|
||||
break
|
||||
case 'minimax':
|
||||
iconPath = '/icons/minimax.svg'
|
||||
break
|
||||
default:
|
||||
return null
|
||||
}
|
||||
|
||||
@@ -104,6 +104,7 @@ function AIAvatar({ name, size = 24 }: { name: string; size?: number }) {
|
||||
kimi: { bg: 'bg-purple-500', text: 'text-white', letter: 'K' },
|
||||
qwen: { bg: 'bg-indigo-500', text: 'text-white', letter: 'Q' },
|
||||
openai: { bg: 'bg-emerald-600', text: 'text-white', letter: 'O' },
|
||||
minimax: { bg: 'bg-red-500', text: 'text-white', letter: 'M' },
|
||||
gpt: { bg: 'bg-emerald-600', text: 'text-white', letter: 'O' },
|
||||
}
|
||||
const lower = name.toLowerCase()
|
||||
|
||||
Reference in New Issue
Block a user