交互优化

This commit is contained in:
Your Name
2023-04-01 04:11:31 +08:00
parent 639e24fc82
commit 3c95299f48
4 changed files with 30 additions and 21 deletions

View File

@ -16,15 +16,13 @@ if USE_PROXY:
"http": "socks5h://localhost:11284",
"https": "socks5h://localhost:11284",
}
print('网络代理状态:运行。')
else:
proxies = None
print('网络代理状态:未配置。无代理状态下很可能无法访问。')
# [step 3]>> 以下配置可以优化体验,但大部分场合下并不需要修改
# 对话窗的高度
CHATBOT_HEIGHT = 1117
CHATBOT_HEIGHT = 1116
# 发送请求到OpenAI后等待多久判定为超时
TIMEOUT_SECONDS = 25