|
|
@@ -1317,6 +1317,7 @@ Q版卡通风格,头大身小,造型圆润可爱,线条简单,色彩明
|
|
|
}
|
|
|
$post_data['max_completion_tokens'] = 100000;
|
|
|
|
|
|
+ // 备用中转站地址: https://token.ithinkai.cn/v1/chat/completions
|
|
|
$response = $client->post('https://api.nonelinear.com/v1/chat/completions', [
|
|
|
'json' => $post_data,
|
|
|
'headers' => $headers
|
|
|
@@ -9943,6 +9944,7 @@ Q版卡通风格,头大身小,造型圆润可爱,线条简单,色彩明
|
|
|
// 确保 stream 为 false
|
|
|
$post_data['stream'] = false;
|
|
|
|
|
|
+ // 备用中转站地址: https://token.ithinkai.cn/v1/chat/completions
|
|
|
$result = $client->post('https://api.nonelinear.com/v1/chat/completions', [
|
|
|
'json' => $post_data,
|
|
|
'headers' => $headers
|
|
|
@@ -10504,7 +10506,7 @@ Q版卡通风格,头大身小,造型圆润可爱,线条简单,色彩明
|
|
|
}else {
|
|
|
$requestData['max_completion_tokens'] = 100000;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
if (isset($params['temperature'])) {
|
|
|
$requestData['temperature'] = $params['temperature'];
|
|
|
}
|