Ver código fonte

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)
tags/v0.16.0
balibabu 9 meses atrás
pai
commit
ecdb2a88bd
Nenhuma conta vinculada ao e-mail do autor do commit

+ 7
- 1
web/src/pages/user-setting/setting-model/system-model-setting-modal/index.tsx Ver arquivo

@@ -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')}

Carregando…
Cancelar
Salvar