@@ -276,6 +276,7 @@ def generate(
276276 * ,
277277 query : str ,
278278 max_iterations : typing .Optional [int ] = OMIT ,
279+ apply_routing : typing .Optional [bool ] = OMIT ,
279280 request_options : typing .Optional [RequestOptions ] = None ,
280281 ) -> GenerateCodeResponse :
281282 """
@@ -287,6 +288,8 @@ def generate(
287288
288289 max_iterations : typing.Optional[int]
289290
291+ apply_routing : typing.Optional[bool]
292+
290293 request_options : typing.Optional[RequestOptions]
291294 Request-specific configuration.
292295
@@ -312,6 +315,7 @@ def generate(
312315 json = {
313316 "query" : query ,
314317 "max_iterations" : max_iterations ,
318+ "apply_routing" : apply_routing ,
315319 },
316320 headers = {
317321 "content-type" : "application/json" ,
@@ -349,6 +353,8 @@ def refine(
349353 query : str ,
350354 feedback : typing .Optional [str ] = OMIT ,
351355 code : typing .Optional [str ] = OMIT ,
356+ max_iterations : typing .Optional [int ] = OMIT ,
357+ apply_routing : typing .Optional [bool ] = OMIT ,
352358 request_options : typing .Optional [RequestOptions ] = None ,
353359 ) -> RefineCodeResponse :
354360 """
@@ -362,6 +368,10 @@ def refine(
362368
363369 code : typing.Optional[str]
364370
371+ max_iterations : typing.Optional[int]
372+
373+ apply_routing : typing.Optional[bool]
374+
365375 request_options : typing.Optional[RequestOptions]
366376 Request-specific configuration.
367377
@@ -388,6 +398,8 @@ def refine(
388398 "query" : query ,
389399 "feedback" : feedback ,
390400 "code" : code ,
401+ "max_iterations" : max_iterations ,
402+ "apply_routing" : apply_routing ,
391403 },
392404 headers = {
393405 "content-type" : "application/json" ,
@@ -1031,6 +1043,7 @@ async def generate(
10311043 * ,
10321044 query : str ,
10331045 max_iterations : typing .Optional [int ] = OMIT ,
1046+ apply_routing : typing .Optional [bool ] = OMIT ,
10341047 request_options : typing .Optional [RequestOptions ] = None ,
10351048 ) -> GenerateCodeResponse :
10361049 """
@@ -1042,6 +1055,8 @@ async def generate(
10421055
10431056 max_iterations : typing.Optional[int]
10441057
1058+ apply_routing : typing.Optional[bool]
1059+
10451060 request_options : typing.Optional[RequestOptions]
10461061 Request-specific configuration.
10471062
@@ -1075,6 +1090,7 @@ async def main() -> None:
10751090 json = {
10761091 "query" : query ,
10771092 "max_iterations" : max_iterations ,
1093+ "apply_routing" : apply_routing ,
10781094 },
10791095 headers = {
10801096 "content-type" : "application/json" ,
@@ -1112,6 +1128,8 @@ async def refine(
11121128 query : str ,
11131129 feedback : typing .Optional [str ] = OMIT ,
11141130 code : typing .Optional [str ] = OMIT ,
1131+ max_iterations : typing .Optional [int ] = OMIT ,
1132+ apply_routing : typing .Optional [bool ] = OMIT ,
11151133 request_options : typing .Optional [RequestOptions ] = None ,
11161134 ) -> RefineCodeResponse :
11171135 """
@@ -1125,6 +1143,10 @@ async def refine(
11251143
11261144 code : typing.Optional[str]
11271145
1146+ max_iterations : typing.Optional[int]
1147+
1148+ apply_routing : typing.Optional[bool]
1149+
11281150 request_options : typing.Optional[RequestOptions]
11291151 Request-specific configuration.
11301152
@@ -1159,6 +1181,8 @@ async def main() -> None:
11591181 "query" : query ,
11601182 "feedback" : feedback ,
11611183 "code" : code ,
1184+ "max_iterations" : max_iterations ,
1185+ "apply_routing" : apply_routing ,
11621186 },
11631187 headers = {
11641188 "content-type" : "application/json" ,
0 commit comments