- plugins/gptold.js +14 -1
plugins/gptold.js
CHANGED
@@ -350,6 +350,7 @@ GptRoutes.get('/api/v1/ai/akenox/AkenoX-1.9-Hybrid-Englsih', authenticateApiKeyP
|
|
350 |
}
|
351 |
});
|
352 |
|
|
|
353 |
/**
|
354 |
* @swagger
|
355 |
* /api/v1/ai/r/Ryzenth-Humanize-05-06-2025:
|
@@ -363,6 +364,18 @@ GptRoutes.get('/api/v1/ai/akenox/AkenoX-1.9-Hybrid-Englsih', authenticateApiKeyP
|
|
363 |
* description: User's input query
|
364 |
* schema:
|
365 |
* type: string
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
366 |
* - in: header
|
367 |
* name: x-api-key
|
368 |
* required: true
|
@@ -380,7 +393,7 @@ GptRoutes.get('/api/v1/ai/r/Ryzenth-Humanize-05-06-2025', authenticateApiKeyPrem
|
|
380 |
return res.status(500).json({ error: "query required" });
|
381 |
}
|
382 |
const results = await AlibabaTogether(query, {
|
383 |
-
system_prompt: SystemHumanizeRyzenth
|
384 |
});
|
385 |
res.json({ results });
|
386 |
} catch (error) {
|
|
|
350 |
}
|
351 |
});
|
352 |
|
353 |
+
|
354 |
/**
|
355 |
* @swagger
|
356 |
* /api/v1/ai/r/Ryzenth-Humanize-05-06-2025:
|
|
|
364 |
* description: User's input query
|
365 |
* schema:
|
366 |
* type: string
|
367 |
+
* - in: query
|
368 |
+
* name: author_id
|
369 |
+
* required: true
|
370 |
+
* description: Custom Nickname
|
371 |
+
* schema:
|
372 |
+
* type: string
|
373 |
+
* - in: query
|
374 |
+
* name: timestamp
|
375 |
+
* required: true
|
376 |
+
* description: Custom timestamp
|
377 |
+
* schema:
|
378 |
+
* type: string
|
379 |
* - in: header
|
380 |
* name: x-api-key
|
381 |
* required: true
|
|
|
393 |
return res.status(500).json({ error: "query required" });
|
394 |
}
|
395 |
const results = await AlibabaTogether(query, {
|
396 |
+
system_prompt: SystemHumanizeRyzenth(author_id, timestamp)
|
397 |
});
|
398 |
res.json({ results });
|
399 |
} catch (error) {
|