mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-06-03 10:53:59 +08:00
### What problem does this PR solve? fix: Minimax API is error! #1353 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
478cd006d6
commit
fc8a752cd5
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
@ -77,7 +77,7 @@ const ApiKeyModal = ({
|
||||
<Input placeholder="https://api.openai.com/v1" />
|
||||
</Form.Item>
|
||||
)}
|
||||
{llmFactory === 'Minimax' && (
|
||||
{llmFactory.toLowerCase() === 'Minimax'.toLowerCase() && (
|
||||
<Form.Item<FieldType> label={'Group ID'} name="group_id">
|
||||
<Input />
|
||||
</Form.Item>
|
||||
|
@ -45,6 +45,7 @@ import OllamaModal from './ollama-modal';
|
||||
import SystemModelSettingModal from './system-model-setting-modal';
|
||||
import VolcEngineModal from './volcengine-model';
|
||||
|
||||
// Please lowercase the file name
|
||||
const IconMap = {
|
||||
'Tongyi-Qianwen': 'tongyi',
|
||||
Moonshot: 'moonshot',
|
||||
@ -57,12 +58,12 @@ const IconMap = {
|
||||
VolcEngine: 'volc_engine',
|
||||
BaiChuan: 'baichuan',
|
||||
Jina: 'jina',
|
||||
Minimax: 'chat-minimax',
|
||||
MiniMax: 'chat-minimax',
|
||||
Mistral: 'mistral',
|
||||
'Azure-OpenAI': 'azure',
|
||||
Bedrock: 'bedrock',
|
||||
Gemini: 'gemini',
|
||||
Groq: 'Groq',
|
||||
Groq: 'groq-next',
|
||||
OpenRouter: 'open-router',
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user