Update plugins/gptold.js
Browse files- plugins/gptold.js +2 -2
plugins/gptold.js
CHANGED
@@ -8,7 +8,7 @@ const GptRoutes = express.Router();
|
|
8 |
/**
|
9 |
* @swagger
|
10 |
* /api/v1/ai/cohere/command-plus:
|
11 |
-
*
|
12 |
* summary: Cohere AI
|
13 |
* tags: [AI]
|
14 |
* parameters:
|
@@ -28,7 +28,7 @@ const GptRoutes = express.Router();
|
|
28 |
* 200:
|
29 |
* description: Success
|
30 |
*/
|
31 |
-
GptRoutes.
|
32 |
try {
|
33 |
const query = req.query.query;
|
34 |
let system_prompt = "Your name is AkenoX AI A kind and friendly AI assistant that answers in\na short and concise answer. Give short step-by-step reasoning if required.\n";
|
|
|
8 |
/**
|
9 |
* @swagger
|
10 |
* /api/v1/ai/cohere/command-plus:
|
11 |
+
* get:
|
12 |
* summary: Cohere AI
|
13 |
* tags: [AI]
|
14 |
* parameters:
|
|
|
28 |
* 200:
|
29 |
* description: Success
|
30 |
*/
|
31 |
+
GptRoutes.get('/api/v1/ai/cohere/command-plus', authenticateApiKey, apiLimiter, async (req, res) => {
|
32 |
try {
|
33 |
const query = req.query.query;
|
34 |
let system_prompt = "Your name is AkenoX AI A kind and friendly AI assistant that answers in\na short and concise answer. Give short step-by-step reasoning if required.\n";
|