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:
2026-05-15 02:09:02 +02:00
parent f183678f35
commit 85c3cee719
2 changed files with 3 additions and 67 deletions
+1 -1
View File
@@ -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