.env.development 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Your openai api key. (required)
  2. OPENAI_API_KEY=sk-xxxx
  3. # Access passsword, separated by comma. (optional)
  4. CODE=qwer@1234
  5. # You can start service behind a proxy
  6. PROXY_URL=http://10.10.0.6:13123
  7. # Override openai api request base url. (optional)
  8. # Default: https://api.openai.com
  9. # Examples: http://your-openai-proxy.com
  10. #BASE_URL=http://10.10.0.1:20003/
  11. BASE_URL=http://10.10.0.2:20003/
  12. # Specify OpenAI organization ID.(optional)
  13. # Default: Empty
  14. OPENAI_ORG_ID=
  15. # (optional)
  16. # Default: Empty
  17. # If you do not want users to use GPT-4, set this value to 1.
  18. DISABLE_GPT4=
  19. # (optional)
  20. # Default: Empty
  21. # If you do not want users to input their own API key, set this value to 1.
  22. HIDE_USER_API_KEY=1
  23. # (optional)
  24. # Default: Empty
  25. # If you do want users to query balance, set this value to 1.
  26. ENABLE_BALANCE_QUERY=
  27. # (optional)
  28. # Default: Empty
  29. # If you want to disable parse settings from url, set this value to 1.
  30. DISABLE_FAST_LINK=
  31. OAUTH_CLIENT_ID=52065645520a434ab8d2170a3db6e09f
  32. OAUTH_CLIENT_SECRET=e63a36c1024f41afb80004e49c5564cf
  33. OAUTH_REDIRECT_URI=http://localhost:3000/
  34. OAUTH_AUTHORIZE_ENDPOINT=https://www.tonyandmoney.cn/oauth/authorize
  35. OAUTH_USERINFO=https://api.tonyandmoney.cn/oauth/user