diff --git a/.env.local b/.env.local new file mode 100644 index 000000000..757ea89b0 --- /dev/null +++ b/.env.local @@ -0,0 +1,76 @@ +# Your openai api key. (required) +OPENAI_API_KEY= + +# Access password, separated by comma. (optional) +# CODE=your-password + +# You can start service behind a proxy. (optional) +PROXY_URL= + +# (optional) +# Default: Empty +# Google Gemini Pro API key, set if you want to use Google Gemini Pro API. +GOOGLE_API_KEY= + +# (optional) +# Default: https://generativelanguage.googleapis.com/ +# Google Gemini Pro API url without pathname, set if you want to customize Google Gemini Pro API url. +GOOGLE_URL= + +# Override openai api request base url. (optional) +# Default: https://api.openai.com +# Examples: http://your-openai-proxy.com +BASE_URL=https://api.deepseek.com +# Specify OpenAI organization ID.(optional) +# Default: Empty +OPENAI_ORG_ID= + +# (optional) +# Default: Empty +# If you do not want users to use GPT-4, set this value to 1. +DISABLE_GPT4= + +# (optional) +# Default: Empty +# If you do not want users to input their own API key, set this value to 1. +HIDE_USER_API_KEY= + +# (optional) +# Default: Empty +# If you do want users to query balance, set this value to 1. +ENABLE_BALANCE_QUERY= + +# (optional) +# Default: Empty +# If you want to disable parse settings from url, set this value to 1. +DISABLE_FAST_LINK= + +# (optional) +# Default: Empty +# 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. +CUSTOM_MODELS=-all,qwen-plus,qwen-max,qwen-max-0107,deepseek-chat,deepseek-coder + +# (optional) +# Default: Empty +# Change default model +DEFAULT_MODEL=qwen-max + +# anthropic claude Api Key.(optional) +ANTHROPIC_API_KEY= + +### anthropic claude Api version. (optional) +ANTHROPIC_API_VERSION= + +### anthropic claude Api url (optional) +ANTHROPIC_URL= + +### (optional) +WHITE_WEBDEV_ENDPOINTS= + +ALIBABA_API_KEY=sk-abdaf2aaf30d48e1adae3839b466527b + +ALIBABA_API_URL= + +DEEPSEEK_API_KEY=sk-c8e0505e462f49068758ebcc4331c9ee + +DEEPSEEK_URL= \ No newline at end of file diff --git a/.gitignore b/.gitignore index 2ff556f64..31260d2f4 100644 --- a/.gitignore +++ b/.gitignore @@ -26,7 +26,7 @@ yarn-error.log* .pnpm-debug.log* # local env files -.env*.local + # vercel .vercel