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.
1 parent 3b3cacf commit cf02b18Copy full SHA for cf02b18
src/OpenAI.php
@@ -21,7 +21,6 @@ final class OpenAI extends Connector
21
use HasTimeout;
22
23
public readonly Api $api;
24
- public readonly float $requestTimeout;
25
26
/**
27
* @param string $baseUrl The base URL of the OpenAI server
@@ -31,9 +30,9 @@ public function __construct(
31
30
private readonly null|string $token = null,
32
private readonly null|string $organization = null,
33
private readonly null|string $project = null,
+ private readonly int $requestTimeout = 300,
34
) {
35
$this->api = new Api(connector: $this);
36
- $this->requestTimeout = 300.0;
37
}
38
39
public function resolveBaseUrl(): string
0 commit comments