mirror of
https://github.com/NovaOSS/nova-betterchat.git
synced 2024-11-25 14:14:00 +01:00
Updated API endpoints
This commit is contained in:
parent
aa89428ec0
commit
b5d8e5b676
|
@ -1,7 +1,7 @@
|
||||||
export const officialAPIEndpoint = 'https://api.nova-oss.com/v1/chat/completions';
|
export const officialAPIEndpoint = 'https://api.nova-oss.com/v1/chat/completions';
|
||||||
const customAPIEndpoint =
|
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 =
|
export const defaultAPIEndpoint =
|
||||||
import.meta.env.VITE_DEFAULT_API_ENDPOINT || officialAPIEndpoint;
|
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'];
|
||||||
|
|
Loading…
Reference in a new issue