Azure: raise chat timeout 45s → 90s default; timeline uses 120s
Timeline was using no explicit timeout, falling back to the gateway's 45s default, which timed out on long Norwegian legal documents. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -125,7 +125,7 @@ final class DbnAzureOpenAiGateway
|
||||
. '/chat/completions?api-version='
|
||||
. rawurlencode((string)$this->config['api_version']);
|
||||
|
||||
return $this->postJson($url, $payload, (int)($options['timeout'] ?? 45));
|
||||
return $this->postJson($url, $payload, (int)($options['timeout'] ?? 90));
|
||||
}
|
||||
|
||||
public function ping(int $timeout = 8): bool
|
||||
|
||||
Reference in New Issue
Block a user