@@ -447,10 +447,10 @@ def test_method_run_with_all_params_overload_8(self, client: Cloudflare) -> None
447
447
model_name = "model_name" ,
448
448
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
449
449
prompt = "x" ,
450
- frequency_penalty = 0 ,
450
+ frequency_penalty = - 2 ,
451
451
lora = "lora" ,
452
452
max_tokens = 0 ,
453
- presence_penalty = 0 ,
453
+ presence_penalty = - 2 ,
454
454
raw = True ,
455
455
repetition_penalty = 0 ,
456
456
response_format = {
@@ -461,7 +461,7 @@ def test_method_run_with_all_params_overload_8(self, client: Cloudflare) -> None
461
461
stream = True ,
462
462
temperature = 0 ,
463
463
top_k = 1 ,
464
- top_p = 0 ,
464
+ top_p = 0.001 ,
465
465
)
466
466
assert_matches_type (Optional [AIRunResponse ], ai , path = ["response" ])
467
467
@@ -534,15 +534,15 @@ def test_method_run_with_all_params_overload_9(self, client: Cloudflare) -> None
534
534
"role" : "role" ,
535
535
}
536
536
],
537
- frequency_penalty = 0 ,
537
+ frequency_penalty = - 2 ,
538
538
functions = [
539
539
{
540
540
"code" : "code" ,
541
541
"name" : "name" ,
542
542
}
543
543
],
544
544
max_tokens = 0 ,
545
- presence_penalty = 0 ,
545
+ presence_penalty = - 2 ,
546
546
raw = True ,
547
547
repetition_penalty = 0 ,
548
548
response_format = {
@@ -569,7 +569,7 @@ def test_method_run_with_all_params_overload_9(self, client: Cloudflare) -> None
569
569
}
570
570
],
571
571
top_k = 1 ,
572
- top_p = 0 ,
572
+ top_p = 0.001 ,
573
573
)
574
574
assert_matches_type (Optional [AIRunResponse ], ai , path = ["response" ])
575
575
@@ -1459,10 +1459,10 @@ async def test_method_run_with_all_params_overload_8(self, async_client: AsyncCl
1459
1459
model_name = "model_name" ,
1460
1460
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
1461
1461
prompt = "x" ,
1462
- frequency_penalty = 0 ,
1462
+ frequency_penalty = - 2 ,
1463
1463
lora = "lora" ,
1464
1464
max_tokens = 0 ,
1465
- presence_penalty = 0 ,
1465
+ presence_penalty = - 2 ,
1466
1466
raw = True ,
1467
1467
repetition_penalty = 0 ,
1468
1468
response_format = {
@@ -1473,7 +1473,7 @@ async def test_method_run_with_all_params_overload_8(self, async_client: AsyncCl
1473
1473
stream = True ,
1474
1474
temperature = 0 ,
1475
1475
top_k = 1 ,
1476
- top_p = 0 ,
1476
+ top_p = 0.001 ,
1477
1477
)
1478
1478
assert_matches_type (Optional [AIRunResponse ], ai , path = ["response" ])
1479
1479
@@ -1546,15 +1546,15 @@ async def test_method_run_with_all_params_overload_9(self, async_client: AsyncCl
1546
1546
"role" : "role" ,
1547
1547
}
1548
1548
],
1549
- frequency_penalty = 0 ,
1549
+ frequency_penalty = - 2 ,
1550
1550
functions = [
1551
1551
{
1552
1552
"code" : "code" ,
1553
1553
"name" : "name" ,
1554
1554
}
1555
1555
],
1556
1556
max_tokens = 0 ,
1557
- presence_penalty = 0 ,
1557
+ presence_penalty = - 2 ,
1558
1558
raw = True ,
1559
1559
repetition_penalty = 0 ,
1560
1560
response_format = {
@@ -1581,7 +1581,7 @@ async def test_method_run_with_all_params_overload_9(self, async_client: AsyncCl
1581
1581
}
1582
1582
],
1583
1583
top_k = 1 ,
1584
- top_p = 0 ,
1584
+ top_p = 0.001 ,
1585
1585
)
1586
1586
assert_matches_type (Optional [AIRunResponse ], ai , path = ["response" ])
1587
1587
0 commit comments