feat: support binding context var (#1227)
Co-authored-by: Joel <iamjoel007@gmail.com>
This commit is contained in:
parent
59236b789f
commit
18c710c906
44 changed files with 711 additions and 77 deletions
|
|
@ -31,7 +31,8 @@ class ModelConfigResource(Resource):
|
|||
model_configuration = AppModelConfigService.validate_configuration(
|
||||
tenant_id=current_user.current_tenant_id,
|
||||
account=current_user,
|
||||
config=request.json
|
||||
config=request.json,
|
||||
mode=app_model.mode
|
||||
)
|
||||
|
||||
new_app_model_config = AppModelConfig(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue