fix: fix import from explore apps err when OpenAI not inited (#2671)

pull/2673/head
takatost 2 years ago committed by GitHub
parent 607f9eda35
commit 76da66fb7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -129,7 +129,7 @@ class AppListApi(Resource):
"No Default System Reasoning Model available. Please configure "
"in the Settings -> Model Provider.")
else:
model_config_dict["model"]["provider"] = default_model_entity.provider
model_config_dict["model"]["provider"] = default_model_entity.provider.provider
model_config_dict["model"]["name"] = default_model_entity.model
model_configuration = AppModelConfigService.validate_configuration(

Loading…
Cancel
Save