mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 08:59:25 +08:00
feat: server multi models support (#799)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user