balibabu
commited on
Commit
·
d73a5e2
1
Parent(s):
2052ec7
Fix: Can not select GPT-4o / 4o mini as Chat Model #4421 (#4453)
Browse files### 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)
web/src/pages/user-setting/setting-model/system-model-setting-modal/index.tsx
CHANGED
@@ -58,7 +58,13 @@ const SystemModelSettingModal = ({
|
|
58 |
name="llm_id"
|
59 |
tooltip={t('chatModelTip')}
|
60 |
>
|
61 |
-
<Select
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
</Form.Item>
|
63 |
<Form.Item
|
64 |
label={t('embeddingModel')}
|
|
|
58 |
name="llm_id"
|
59 |
tooltip={t('chatModelTip')}
|
60 |
>
|
61 |
+
<Select
|
62 |
+
options={[
|
63 |
+
...allOptions[LlmModelType.Chat],
|
64 |
+
...allOptions[LlmModelType.Image2text],
|
65 |
+
]}
|
66 |
+
allowClear
|
67 |
+
/>
|
68 |
</Form.Item>
|
69 |
<Form.Item
|
70 |
label={t('embeddingModel')}
|