ソースを参照

更换gpt5.4中转站

lh 2 日 前
コミット
59336d091d
1 ファイル変更5 行追加3 行削除
  1. 5 3
      app/Services/DeepSeek/DeepSeekService.php

+ 5 - 3
app/Services/DeepSeek/DeepSeekService.php

@@ -1321,8 +1321,9 @@ Q版卡通风格,头大身小,造型圆润可爱,线条简单,色彩明
         }
         $post_data['max_completion_tokens'] = 100000;
 
-        // 备用中转站地址: https://token.ithinkai.cn/v1/chat/completions
-        $response = $client->post('https://api.nonelinear.com/v1/chat/completions', [
+        // 备用中转站地址1: https://token.ithinkai.cn/v1/chat/completions
+        // 备用中转站地址2: https://api.nonelinear.com/v1/chat/completions
+        $response = $client->post('https://ai-api.kkidc.com/v1/chat/completions', [
             'json' => $post_data, 
             'headers' => $headers
         ]);
@@ -10948,7 +10949,8 @@ Q版卡通风格,头大身小,造型圆润可爱,线条简单,色彩明
         $post_data['stream'] = false;
 
         // 备用中转站地址: https://token.ithinkai.cn/v1/chat/completions
-        $result = $client->post('https://api.nonelinear.com/v1/chat/completions', [
+        // 备用中转站地址2: https://api.nonelinear.com/v1/chat/completions
+        $result = $client->post('https://ai-api.kkidc.com/v1/chat/completions', [
             'json' => $post_data, 
             'headers' => $headers
         ]);