Allow API endpoints to be changed in env

This commit is contained in:
Webifi
2023-06-07 11:50:36 -05:00
parent fdd46fdd06
commit a51cea24d4
4 changed files with 17 additions and 9 deletions

2
.env
View File

@@ -1,2 +1,4 @@
# Uncomment the following line to use the mocked API
#VITE_API_BASE=http://localhost:5174
#VITE_ENDPOINT_COMPLETIONS=/v1/chat/completions
#VITE_ENDPOINT_COMPLETIONS=/v1/models