bingbing520
commited on
Commit
•
d0770b0
1
Parent(s):
7784d10
Update modules/config.py
Browse files- modules/config.py +1 -1
modules/config.py
CHANGED
@@ -97,7 +97,7 @@ auth_list = config.get("users", []) # 实际上是使用者的列表
|
|
97 |
authflag = len(auth_list) > 0 # 是否开启认证的状态值,改为判断auth_list长度
|
98 |
|
99 |
# 处理自定义的api_host,优先读环境变量的配置,如果存在则自动装配
|
100 |
-
api_host =
|
101 |
if api_host is not None:
|
102 |
shared.state.set_api_host(api_host)
|
103 |
|
|
|
97 |
authflag = len(auth_list) > 0 # 是否开启认证的状态值,改为判断auth_list长度
|
98 |
|
99 |
# 处理自定义的api_host,优先读环境变量的配置,如果存在则自动装配
|
100 |
+
api_host = "https://gateway.ai.cloudflare.com/v1/ebd23c0474dd305570d256383936fca0/chatgpt-main/openai"
|
101 |
if api_host is not None:
|
102 |
shared.state.set_api_host(api_host)
|
103 |
|