.env.template 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # Your openai api key. (required)
  2. OPENAI_API_KEY=sk-xxxx
  3. # Access password, separated by comma. (optional)
  4. CODE=your-password
  5. # You can start service behind a proxy. (optional)
  6. PROXY_URL=http://localhost:7890
  7. # (optional)
  8. # Default: Empty
  9. # Google Gemini Pro API key, set if you want to use Google Gemini Pro API.
  10. GOOGLE_API_KEY=
  11. # (optional)
  12. # Default: https://generativelanguage.googleapis.com/
  13. # Google Gemini Pro API url without pathname, set if you want to customize Google Gemini Pro API url.
  14. GOOGLE_URL=
  15. # Override openai api request base url. (optional)
  16. # Default: https://api.openai.com
  17. # Examples: http://your-openai-proxy.com
  18. BASE_URL=
  19. # Specify OpenAI organization ID.(optional)
  20. # Default: Empty
  21. OPENAI_ORG_ID=
  22. # (optional)
  23. # Default: Empty
  24. # If you do not want users to use GPT-4, set this value to 1.
  25. DISABLE_GPT4=
  26. # (optional)
  27. # Default: Empty
  28. # If you do not want users to input their own API key, set this value to 1.
  29. HIDE_USER_API_KEY=
  30. # (optional)
  31. # Default: Empty
  32. # If you do want users to query balance, set this value to 1.
  33. ENABLE_BALANCE_QUERY=
  34. # (optional)
  35. # Default: Empty
  36. # If you want to disable parse settings from url, set this value to 1.
  37. DISABLE_FAST_LINK=
  38. # (optional)
  39. # Default: Empty
  40. # To control custom models, use + to add a custom model, use - to hide a model, use name=displayName to customize model name, separated by comma.
  41. CUSTOM_MODELS=
  42. # (optional)
  43. # Default: Empty
  44. # Change default model
  45. DEFAULT_MODEL=
  46. # anthropic claude Api Key.(optional)
  47. ANTHROPIC_API_KEY=
  48. ### anthropic claude Api version. (optional)
  49. ANTHROPIC_API_VERSION=
  50. ### anthropic claude Api url (optional)
  51. ANTHROPIC_URL=
  52. ### (optional)
  53. WHITE_WEBDAV_ENDPOINTS=