randydev commited on
Commit
378014f
·
verified ·
1 Parent(s): 0cbe030

Update plugins/gptold.js

Browse files
Files changed (1) hide show
  1. 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
- * post:
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.post('/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";
 
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";