From b5d8e5b6763c688817f1a1b7f325339c6d261a02 Mon Sep 17 00:00:00 2001 From: sysadmin08 <142150218+sysadmin08@users.noreply.github.com> Date: Mon, 16 Oct 2023 17:56:50 +0200 Subject: [PATCH] Updated API endpoints --- src/constants/auth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/constants/auth.ts b/src/constants/auth.ts index 2e7cbd9..e4ecd5d 100644 --- a/src/constants/auth.ts +++ b/src/constants/auth.ts @@ -1,7 +1,7 @@ export const officialAPIEndpoint = 'https://api.nova-oss.com/v1/chat/completions'; const customAPIEndpoint = - import.meta.env.VITE_CUSTOM_API_ENDPOINT || 'https://free.churchless.tech/v1/chat/completions/'; + import.meta.env.VITE_CUSTOM_API_ENDPOINT || 'https://api.openai.com/v1/chat/completions'; export const defaultAPIEndpoint = import.meta.env.VITE_DEFAULT_API_ENDPOINT || officialAPIEndpoint; -export const availableEndpoints = [officialAPIEndpoint, customAPIEndpoint]; +export const availableEndpoints = [officialAPIEndpoint, customAPIEndpoint, 'https://api.naga.ac/v1/chat/completions'];