Update index.js
Browse files815 unmodified lines816817818819820821822815 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++;815 unmodified lines816817818819820821822815 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++;
index.js+1-1