Update plugins/gptold.js
Browse files- plugins/gptold.js +12 -0
plugins/gptold.js
CHANGED
@@ -17,6 +17,12 @@ const GptRoutes = express.Router();
|
|
17 |
* description: null
|
18 |
* schema:
|
19 |
* type: string
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
* responses:
|
21 |
* 200:
|
22 |
* description: Success
|
@@ -45,6 +51,12 @@ GptRoutes.get('/api/v1/ai/nvidia/llama-31-70b', authenticateApiKey, apiLimiter,
|
|
45 |
* description: The query to be processed by the GPT OLD.
|
46 |
* schema:
|
47 |
* type: string
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
* responses:
|
49 |
* 200:
|
50 |
* description: Success
|
|
|
17 |
* description: null
|
18 |
* schema:
|
19 |
* type: string
|
20 |
+
* - in: header
|
21 |
+
* name: x-api-key
|
22 |
+
* required: true
|
23 |
+
* description: API key for authentication
|
24 |
+
* schema:
|
25 |
+
* type: string
|
26 |
* responses:
|
27 |
* 200:
|
28 |
* description: Success
|
|
|
51 |
* description: The query to be processed by the GPT OLD.
|
52 |
* schema:
|
53 |
* type: string
|
54 |
+
* - in: header
|
55 |
+
* name: x-api-key
|
56 |
+
* required: true
|
57 |
+
* description: API key for authentication
|
58 |
+
* schema:
|
59 |
+
* type: string
|
60 |
* responses:
|
61 |
* 200:
|
62 |
* description: Success
|