Fix: Can not select GPT-4o / 4o mini as Chat Model #4421 (#4453)

### What problem does this PR solve?

Fix: Can not select GPT-4o / 4o mini as Chat Model #4421

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu 2025-01-13 11:54:16 +08:00 committed by GitHub
parent 2c7ba90cb4
commit ecdb2a88bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,7 +58,13 @@ const SystemModelSettingModal = ({
name="llm_id"
tooltip={t('chatModelTip')}
>
<Select options={allOptions[LlmModelType.Chat]} allowClear />
<Select
options={[
...allOptions[LlmModelType.Chat],
...allOptions[LlmModelType.Image2text],
]}
allowClear
/>
</Form.Item>
<Form.Item
label={t('embeddingModel')}