Skip to content

Commit

Permalink
fix mode enum
Browse files Browse the repository at this point in the history
  • Loading branch information
takatost committed Jan 2, 2024
1 parent 71cb2e0 commit e23f347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/services/app_model_config_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def validate_configuration(cls, tenant_id: str, account: Account, config: dict,

# model.mode
if model_mode:
config['model']["mode"] = model_mode.value
config['model']["mode"] = model_mode
else:
config['model']["mode"] = "completion"

Expand Down

0 comments on commit e23f347

Please sign in to comment.