* skip migrating invalid llm config.

This commit is contained in:
liwenrui
2024-04-17 10:57:00 +08:00
parent 85601467f5
commit da3e48afa5
+2
View File
@@ -8510,6 +8510,8 @@ class upgradeModel extends model
$model->createdDate = helper::now();
$model->createdBy = 'system';
if(empty($model->type)) return;
$credentials = new stdclass();
$credentials->key = $aiConfig->key ?: '';