We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1f3c133 + f9dd3b3 commit 8c5be65Copy full SHA for 8c5be65
src/Chat.php
@@ -70,7 +70,7 @@ public function completions(array $data, array $options)
70
} else if ($path[strlen($path) - 1] === '/') {
71
$url = $this->api . 'chat/completions';
72
}
73
- $http = new Client(['timeout' => 600]);
+ $http = new Client(['timeout' => $options['timeout'] ?? 600]);
74
$http->request($url, $requestOptions);
75
76
0 commit comments