chore: Add environment variables for OpenAI API Like integration

This commit is contained in:
Gaoyao Massimo Hu
2024-10-23 16:36:12 +01:00
parent dd4dd2c21a
commit 30dfa4fda4
7 changed files with 72 additions and 9 deletions

View File

@@ -29,5 +29,13 @@ GOOGLE_GENERATIVE_AI_API_KEY=
# EXAMPLE http://localhost:11434
OLLAMA_API_BASE_URL=
# You only need this environment variable set if you want to use OpenAI API Like models
# EXAMPLE https://xxx.xxxx.com/v1
OPENAI_API_LIKE_BASE_URL=
# Get your OpenAI API Like Key by following these instructions -
# https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key
OPENAI_API_LIKE_KEY=
# Include this environment variable if you want more logging for debugging locally
VITE_LOG_LEVEL=debug