.env.template 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. # Enable MCP functionality (optional)
  8. # Default: Empty (disabled)
  9. # Set to "true" to enable MCP functionality
  10. ENABLE_MCP=
  11. # (optional)
  12. # Default: Empty
  13. # Google Gemini Pro API key, set if you want to use Google Gemini Pro API.
  14. GOOGLE_API_KEY=
  15. # (optional)
  16. # Default: https://generativelanguage.googleapis.com/
  17. # Google Gemini Pro API url without pathname, set if you want to customize Google Gemini Pro API url.
  18. GOOGLE_URL=
  19. # Override openai api request base url. (optional)
  20. # Default: https://api.openai.com
  21. # Examples: http://your-openai-proxy.com
  22. BASE_URL=
  23. # Specify OpenAI organization ID.(optional)
  24. # Default: Empty
  25. OPENAI_ORG_ID=
  26. # (optional)
  27. # Default: Empty
  28. # If you do not want users to use GPT-4, set this value to 1.
  29. DISABLE_GPT4=
  30. # (optional)
  31. # Default: Empty
  32. # If you do not want users to input their own API key, set this value to 1.
  33. HIDE_USER_API_KEY=
  34. # (optional)
  35. # Default: Empty
  36. # If you do want users to query balance, set this value to 1.
  37. ENABLE_BALANCE_QUERY=
  38. # (optional)
  39. # Default: Empty
  40. # If you want to disable parse settings from url, set this value to 1.
  41. DISABLE_FAST_LINK=
  42. # (optional)
  43. # Default: Empty
  44. # 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.
  45. CUSTOM_MODELS=
  46. # (optional)
  47. # Default: Empty
  48. # Change default model
  49. DEFAULT_MODEL=
  50. # anthropic claude Api Key.(optional)
  51. ANTHROPIC_API_KEY=
  52. ### anthropic claude Api version. (optional)
  53. ANTHROPIC_API_VERSION=
  54. ### anthropic claude Api url (optional)
  55. ANTHROPIC_URL=
  56. ### (optional)
  57. WHITE_WEBDAV_ENDPOINTS=