fix: openaicustomurl do not display
This commit is contained in:
@@ -103,6 +103,7 @@ const ProviderForm: React.FC<ProviderFormProps> = forwardRef((props, ref) => {
|
|||||||
api_tokens: formatAPIKeys(values),
|
api_tokens: formatAPIKeys(values),
|
||||||
config: {
|
config: {
|
||||||
type: values.config.type,
|
type: values.config.type,
|
||||||
|
openaiCustomUrl: values.config.openaiCustomUrl || undefined,
|
||||||
...yaml2Json(advanceRef.current?.getYamlValue() || '')
|
...yaml2Json(advanceRef.current?.getYamlValue() || '')
|
||||||
},
|
},
|
||||||
models: _.uniqBy(values.models, 'name'),
|
models: _.uniqBy(values.models, 'name'),
|
||||||
|
|||||||
Reference in New Issue
Block a user