Skip to content

Commit

Permalink
Fix wrong type for temperature
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelloDuarte committed Sep 24, 2024
1 parent a7303bd commit 96fe5c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Intelligence/SuggestionGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class SuggestionGenerator
public function __construct(
private string $apiKey,
private string $model,
private int $temperature,
private float $temperature,
private int $maxTokens
)
{
Expand Down

0 comments on commit 96fe5c9

Please sign in to comment.