Skip to content

Commit

Permalink
fix: fix import from explore apps err when OpenAI not inited (#2671)
Browse files Browse the repository at this point in the history
  • Loading branch information
takatost authored Mar 4, 2024
1 parent 607f9ed commit 76da66f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controllers/console/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def post(self):
"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(
Expand Down

0 comments on commit 76da66f

Please sign in to comment.