fix: Minimax API is error! #1353 (#1585)

### 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:
balibabu
2024-07-18 12:09:25 +08:00
committed by GitHub
parent 478cd006d6
commit fc8a752cd5
3 changed files with 4 additions and 3 deletions

View File

@ -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>