lh hai 1 día
pai
achega
699f382adf
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/Services/AIGeneration/AIImageGenerationService.php

+ 2 - 2
app/Services/AIGeneration/AIImageGenerationService.php

@@ -261,8 +261,8 @@ class AIImageGenerationService
             
             // 创建专用客户端,优化配置
             $gptClient = new Client([
-                'timeout' => 600, // 10分钟超时
-                'connect_timeout' => 30, // 连接超时10秒
+                'timeout' => 1800, // 超时
+                'connect_timeout' => 120, // 连接超时10秒
                 'http_errors' => false, // 不自动抛出HTTP错误
                 'verify' => false, // 禁用SSL验证(如果有证书问题)
                 'allow_redirects' => true,