Update index.js
Browse files813 unmodified lines814815816817818819820813 unmodified lineslet retryCount = 0;const grokClient = new GrokApiClient(req.body.model);const requestPayload = await grokClient.prepareChatRequest(req.body);while (retryCount < CONFIG.RETRY.MAX_ATTEMPTS) {retryCount++;if (!CONFIG.API.TEMP_COOKIE) {813 unmodified lines814815816817818819820813 unmodified lineslet retryCount = 0;const grokClient = new GrokApiClient(req.body.model);const requestPayload = await grokClient.prepareChatRequest(req.body);Logger.info(`当前请求体: ${JSON.stringify(requestPayload,null,2)}`, 'Server');while (retryCount < CONFIG.RETRY.MAX_ATTEMPTS) {retryCount++;if (!CONFIG.API.TEMP_COOKIE) {
index.js+1-1