Skip to content

Commit

Permalink
fix: support partical default models
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeuoly committed Dec 28, 2023
1 parent 321675a commit 6f3d210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controllers/console/workspace/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def post(self):
raise ValueError('invalid model type')

if 'provider' not in model_setting:
raise ValueError('invalid provider')
continue

if 'model' not in model_setting:
raise ValueError('invalid model')
Expand Down

0 comments on commit 6f3d210

Please sign in to comment.