fix: openaicustomurl do not display

This commit is contained in:
jialin
2026-02-24 11:07:53 +08:00
parent d8258cf676
commit 04092c3fa5
+1
View File
@@ -103,6 +103,7 @@ const ProviderForm: React.FC<ProviderFormProps> = forwardRef((props, ref) => {
api_tokens: formatAPIKeys(values),
config: {
type: values.config.type,
openaiCustomUrl: values.config.openaiCustomUrl || undefined,
...yaml2Json(advanceRef.current?.getYamlValue() || '')
},
models: _.uniqBy(values.models, 'name'),