@@ -38,6 +38,7 @@ def post(self, app_model: App, end_user: EndUser):
38
38
39
39
parser = reqparse .RequestParser ()
40
40
parser .add_argument ("inputs" , type = dict , required = True , location = "json" )
41
+ parser .add_argument ("inputs_reload" , type = bool , required = False , default = False , location = "json" )
41
42
parser .add_argument ("query" , type = str , location = "json" , default = "" )
42
43
parser .add_argument ("files" , type = list , required = False , location = "json" )
43
44
parser .add_argument ("response_mode" , type = str , choices = ["blocking" , "streaming" ], location = "json" )
@@ -101,6 +102,7 @@ def post(self, app_model: App, end_user: EndUser):
101
102
102
103
parser = reqparse .RequestParser ()
103
104
parser .add_argument ("inputs" , type = dict , required = True , location = "json" )
105
+ parser .add_argument ("inputs_reload" , type = bool , required = False , default = False , location = "json" )
104
106
parser .add_argument ("query" , type = str , required = True , location = "json" )
105
107
parser .add_argument ("files" , type = list , required = False , location = "json" )
106
108
parser .add_argument ("response_mode" , type = str , choices = ["blocking" , "streaming" ], location = "json" )
0 commit comments