Spaces:
Sleeping
Sleeping
Update index.js
Browse files
index.js
CHANGED
@@ -816,7 +816,7 @@ app.post('/hf/v1/chat/completions', async (req, res) => {
|
|
816 |
let retryCount = 0;
|
817 |
const grokClient = new GrokApiClient(req.body.model);
|
818 |
const requestPayload = await grokClient.prepareChatRequest(req.body);
|
819 |
-
Logger.info(`请求体: ${JSON.stringify(requestPayload,null,2)}`, 'Server');
|
820 |
|
821 |
while (retryCount < CONFIG.RETRY.MAX_ATTEMPTS) {
|
822 |
retryCount++;
|
|
|
816 |
let retryCount = 0;
|
817 |
const grokClient = new GrokApiClient(req.body.model);
|
818 |
const requestPayload = await grokClient.prepareChatRequest(req.body);
|
819 |
+
//Logger.info(`请求体: ${JSON.stringify(requestPayload,null,2)}`, 'Server');
|
820 |
|
821 |
while (retryCount < CONFIG.RETRY.MAX_ATTEMPTS) {
|
822 |
retryCount++;
|