* [task#150347] process the logic of ai model.

This commit is contained in:
wangzemei
2025-10-09 13:35:38 +08:00
committed by sunhao
parent ee750e295f
commit bf8a63a5bf
2 changed files with 2 additions and 6 deletions
-2
View File
@@ -1415,8 +1415,6 @@ class aiModel extends model
if($data->published === '1') $data->publishedDate = helper::now();
$data->builtIn = '0';
$data->model = (empty($data->model) || $data->model == 'default') ? 0 : $data->model;
if(!empty($data->iconName) && !empty($data->iconTheme))
{
$data->icon = $data->iconName . '-' . $data->iconTheme;