File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class Claude extends Model
36
36
*/
37
37
public function __construct (
38
38
string $ name = self ::SONNET_37 ,
39
- array $ options = ['temperature ' => 1.0 , ' max_tokens ' => 1000 ],
39
+ array $ options = ['max_tokens ' => 1000 ],
40
40
) {
41
41
$ capabilities = [
42
42
Capability::INPUT_MESSAGES ,
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ final class Nova extends Model
29
29
*/
30
30
public function __construct (
31
31
string $ name = self ::PRO ,
32
- array $ options = ['temperature ' => 1.0 , ' max_tokens ' => 1000 ],
32
+ array $ options = ['max_tokens ' => 1000 ],
33
33
) {
34
34
$ capabilities = [
35
35
Capability::INPUT_MESSAGES ,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class Gemini extends Model
28
28
/**
29
29
* @param array<string, mixed> $options The default options for the model usage
30
30
*/
31
- public function __construct (string $ name = self ::GEMINI_2_PRO , array $ options = [' temperature ' => 1.0 ])
31
+ public function __construct (string $ name = self ::GEMINI_2_PRO , array $ options = [])
32
32
{
33
33
$ capabilities = [
34
34
Capability::INPUT_MESSAGES ,
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class Completions extends Model
27
27
28
28
public function __construct (
29
29
string $ name ,
30
- array $ options = [' temperature ' => 0.7 ],
30
+ array $ options = [],
31
31
array $ capabilities = self ::DEFAULT_CAPABILITIES ,
32
32
) {
33
33
parent ::__construct ($ name , $ capabilities , $ options );
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ class Gpt extends Model
75
75
*/
76
76
public function __construct (
77
77
string $ name = self ::GPT_4O ,
78
- array $ options = [' temperature ' => 1.0 ],
78
+ array $ options = [],
79
79
) {
80
80
$ capabilities = [
81
81
Capability::INPUT_MESSAGES ,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public function testItCreatesGptWithDefaultSettings()
28
28
$ gpt = new Gpt ();
29
29
30
30
$ this ->assertSame (Gpt::GPT_4O , $ gpt ->getName ());
31
- $ this ->assertSame ([' temperature ' => 1.0 ], $ gpt ->getOptions ());
31
+ $ this ->assertSame ([], $ gpt ->getOptions ());
32
32
}
33
33
34
34
public function testItCreatesGptWithCustomSettings ()
You can’t perform that action at this time.
0 commit comments