mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
Merge pull request #83 from APIParkLab/feature/v1.2
fix: AI Model config bug
This commit is contained in:
@@ -106,10 +106,7 @@ const AiSettingModalContent = forwardRef<AiSettingModalContentHandle,AiSettingMo
|
||||
label:<div className="flex items-center gap-[10px]">
|
||||
<span>{x.id}</span>
|
||||
{x?.scopes?.map(s=><Tag >{s?.toLocaleUpperCase()}</Tag>)}
|
||||
</div>}))}
|
||||
onChange={(e)=>{
|
||||
form.setFieldValue('config',llmList?.find(x=>x.id===e)?.config)
|
||||
}}>
|
||||
</div>}))}>
|
||||
</Select>
|
||||
</Form.Item>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user