randydev commited on
Commit
229b70b
·
verified ·
1 Parent(s): 0c612fb

Update plugins/gptold.js

Browse files
Files changed (1) hide show
  1. plugins/gptold.js +2 -2
plugins/gptold.js CHANGED
@@ -7,7 +7,7 @@ const GptRoutes = express.Router();
7
 
8
  /**
9
  * @swagger
10
- * /api/v1/ai/cohere/test:
11
  * post:
12
  * summary: Cohere AI
13
  * tags: [AI]
@@ -28,7 +28,7 @@ const GptRoutes = express.Router();
28
  * 200:
29
  * description: Success
30
  */
31
- GptRoutes.post('/api/v1/ai/cohere/test', authenticateApiKey, apiLimiter, async (req, res) => {
32
  try {
33
  const query = req.query.query;
34
  const results = await CohereAI(query);
 
7
 
8
  /**
9
  * @swagger
10
+ * /api/v1/ai/cohere/command-plus:
11
  * post:
12
  * summary: Cohere AI
13
  * tags: [AI]
 
28
  * 200:
29
  * description: Success
30
  */
31
+ GptRoutes.post('/api/v1/ai/cohere/command-plus', authenticateApiKey, apiLimiter, async (req, res) => {
32
  try {
33
  const query = req.query.query;
34
  const results = await CohereAI(query);