Update plugins/gptold.js
Browse files- plugins/gptold.js +1 -1
plugins/gptold.js
CHANGED
@@ -77,7 +77,7 @@ import got from "got";
|
|
77 |
* 200:
|
78 |
* description: Success
|
79 |
*/
|
80 |
-
GptRoutes.get("/api/v1/ai/openai/whisper-large-v3-turbo",
|
81 |
const API_BASE_URL = `https://api.cloudflare.com/client/v4/accounts/${process.env['ACCOUNT_ID']}/ai/run/@cf/openai/whisper-large-v3-turbo`;
|
82 |
const headers = {
|
83 |
"Authorization": `Bearer ${process.env['CLOUDFLARE_API_KEY']}`,
|
|
|
77 |
* 200:
|
78 |
* description: Success
|
79 |
*/
|
80 |
+
GptRoutes.get("/api/v1/ai/openai/whisper-large-v3-turbo", authenticateApiKeyPremium, apiLimiter, async (req, res) => {
|
81 |
const API_BASE_URL = `https://api.cloudflare.com/client/v4/accounts/${process.env['ACCOUNT_ID']}/ai/run/@cf/openai/whisper-large-v3-turbo`;
|
82 |
const headers = {
|
83 |
"Authorization": `Bearer ${process.env['CLOUDFLARE_API_KEY']}`,
|