feat: server multi models support (#799)
This commit is contained in:
parent
d8b712b325
commit
5fa2161b05
213 changed files with 10556 additions and 2579 deletions
|
|
@ -28,9 +28,9 @@ class ModelConfigResource(Resource):
|
|||
|
||||
# validate config
|
||||
model_configuration = AppModelConfigService.validate_configuration(
|
||||
tenant_id=current_user.current_tenant_id,
|
||||
account=current_user,
|
||||
config=request.json,
|
||||
mode=app_model.mode
|
||||
config=request.json
|
||||
)
|
||||
|
||||
new_app_model_config = AppModelConfig(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue