录单
This commit is contained in:
@@ -66,7 +66,8 @@ public class GPTClientUtil {
|
||||
.header("Authorization", "Bearer " + GPT_API_KEY)
|
||||
.header("Accept", "application/json")
|
||||
.body(jsonBody)
|
||||
.setProxy(proxy);
|
||||
.setProxy(proxy)
|
||||
.timeout(30000); // 设置超时时间为30秒
|
||||
|
||||
logger.info("请求 GPT API: URL={}, Body={}", GPT_API_URL, jsonBody);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user