.env.production 1.2 KB

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