fb700 commited on
Commit
008a4d4
·
1 Parent(s): 4be3546

Update config.py

Browse files
Files changed (1) hide show
  1. config.py +1 -1
config.py CHANGED
@@ -66,7 +66,7 @@ AUTHENTICATION = []
66
  # (高危设置!通过修改此设置,您将把您的API-KEY和对话隐私完全暴露给您设定的中间人!)
67
  # 格式 {"https://api.openai.com/v1/chat/completions": "在这里填写重定向的api.openai.com的URL"}
68
  # 例如 API_URL_REDIRECT = {"https://api.openai.com/v1/chat/completions": "https://ai.open.com/api/conversation"}
69
- API_URL_REDIRECT = {"https://api.openai.com/v1/chat/completions":"https://138.3.215.133:8787/v1"}
70
 
71
  # 如果需要在二级路径下运行(常规情况下,不要修改!!)(需要配合修改main.py才能生效!)
72
  CUSTOM_PATH = "/"
 
66
  # (高危设置!通过修改此设置,您将把您的API-KEY和对话隐私完全暴露给您设定的中间人!)
67
  # 格式 {"https://api.openai.com/v1/chat/completions": "在这里填写重定向的api.openai.com的URL"}
68
  # 例如 API_URL_REDIRECT = {"https://api.openai.com/v1/chat/completions": "https://ai.open.com/api/conversation"}
69
+ API_URL_REDIRECT = {"https://api.openai.com/v1/chat/completions":"http://138.3.215.133:8787/v1/chat/completions"}
70
 
71
  # 如果需要在二级路径下运行(常规情况下,不要修改!!)(需要配合修改main.py才能生效!)
72
  CUSTOM_PATH = "/"