.env.development 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. BASE_PATH=/chat
  2. # Your openai api key. (required)
  3. OPENAI_API_KEY=sk-xxxx
  4. # Access passsword, separated by comma. (optional)
  5. CODE=
  6. # You can start service behind a proxy
  7. PROXY_URL=http://10.10.0.6:13123
  8. # Override openai api request base url. (optional)
  9. # Default: https://api.openai.com
  10. # Examples: http://your-openai-proxy.com
  11. BASE_URL=http://10.10.0.1:20003/
  12. #BASE_URL=http://10.10.0.2:20003/
  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=52065645520a434ab8d2170a3db6e09f
  33. OAUTH_CLIENT_SECRET=e63a36c1024f41afb80004e49c5564cf
  34. OAUTH_REDIRECT_URI=http://localhost:3000/chat
  35. OAUTH_AUTHORIZE_ENDPOINT=https://www.tonyandmoney.cn/oauth/authorize
  36. OAUTH_USERINFO=https://api.tonyandmoney.cn/oauth/user