.env.template 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # Your openai api key. (required)
  2. OPENAI_API_KEY=sk-xxxx
  3. # Access passsword, separated by comma. (optional)
  4. CODE=your-password
  5. # You can start service behind a proxy
  6. PROXY_URL=http://localhost:7890
  7. # (optional)
  8. # Default: Empty
  9. # Googel 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. # Googel 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=