From cd69b41b50d340f9c73fa26d3aa767de0d03da49 Mon Sep 17 00:00:00 2001 From: Joost Van Der Woude <35975332+Nekiplay@users.noreply.github.com> Date: Tue, 17 Oct 2023 07:36:27 +0500 Subject: [PATCH] Update index.jsx --- plugins/gpt/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gpt/index.jsx b/plugins/gpt/index.jsx index 9818444..60c021d 100644 --- a/plugins/gpt/index.jsx +++ b/plugins/gpt/index.jsx @@ -168,7 +168,7 @@ export function onLoad() { loadingIndicatorElem.style.left = `${x}px`; loadingIndicatorElem.style.top = `${y + 12}px`; - fetch("https://api.naga.ac/v1/chat/completions", { + fetch("https://api.openai.com/v1/chat/completions", { method: "POST", headers: { "Content-Type": "application/json",