1 Star 2 Fork 3

韦清河/copilot-gpt4-service

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
config.env.example 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
linziwei2 提交于 2024-01-29 19:25 . fix: syntax error
HOST=0.0.0.0 # The service listening address.
PORT=8080 # The service listening port.
CACHE=true # Whether to enable persistence.
CACHE_PATH=db/cache.sqlite3 # The path of the persistent cache (only effective when CACHE=true).
DEBUG=false # Whether to enable debug mode, more logs will be output when enabled.
LOGGING=true # Whether to enable logging.
LOG_LEVEL=info # Log level, optional values: panic, fatal, error, warn, info, debug, trace (Note: only effective when LOGGING=true).
# COPILOT_TOKEN= # The default Github Copilot Token, if this item is set, the Token carried in the request will be ignored.
# SUPER_TOKEN= # Standalone token in this system; if this token is being used by user, COPILOT_TOKEN will be used for Copilot requests. Use comma to separate multiple tokens.
ENABLE_SUPER_TOKEN=false # Whether to enable the SUPER_TOKEN feature. If COPILOT_TOKEN is set, but SUPER_TOKEN is not, COPILOT_TOKEN will be used without any restrictions.
RATE_LIMIT=0 # The number of requests allowed per minute, if 0 there is no limit, default is 0.
CORS_PROXY_NEXTCHAT=false # Whether to enable the CORS proxy for NextChat desktop application. It will then be served on the '$HOST:$PORT/cors-proxy-nextchat/' endpoint. Make sure to update it in your application settings.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/weiqh2000/copilot-gpt4-service.git
[email protected]:weiqh2000/copilot-gpt4-service.git
weiqh2000
copilot-gpt4-service
copilot-gpt4-service
master

搜索帮助