Comments (15)
重新部署后目前已经可以稳定运行了。docker主要是不用在一python各种包的潜在影响,还是挺好用的。辛苦大佬。
from dingtalk-chatgpt-bot.
gpt的请求报错不是这样的,感觉可能是 作者 的代理服务器有点什么问题?
你可以 /reset打开新聊天看看,我昨天也是,reset之后正常了但是没有继续测试。你试下如果再正常之后再一段时间就不行了,我感觉很可能是一个聊天上下文太长了,代理服务器有长度限制,因为之前没有上下文,我加了sql存了聊天id才可以
from dingtalk-chatgpt-bot.
超长应该不会,其实也不长,/reset了没用,但是放了一会又能用了,也是神奇
from dingtalk-chatgpt-bot.
🥲我有空测试一下是什么问题
你也可以fork修改一下试试3.5的能力?应该换掉那几行gpt请求的代码就好了
https://platform.openai.com/docs/models/gpt-3-5
https://platform.openai.com/docs/libraries/python-library
from dingtalk-chatgpt-bot.
3.5我已经试过了,与网页版比差距挺大的
from dingtalk-chatgpt-bot.
我在discord问了作者,他说每个ip限制50个链接,或者有速率限制,超过之后会拉黑1-5分钟,感觉可能是这个问题导致的。我代码有点小问题,有空改一下试试效果
from dingtalk-chatgpt-bot.
哦他的意思是一个ip给50个connections?那我肯定没的,看后台有两个connected 就不错了,应该是其他原因吧。
from dingtalk-chatgpt-bot.
我代码有点问题,每次http请求会重新生成一个链接,他最后说 or connect many times in a short time it will block you for 1-5 mins
, 也有速率限制吧,总之我改完代码再试试看
from dingtalk-chatgpt-bot.
好的原来如此,期待新版本。
from dingtalk-chatgpt-bot.
更新了,你可以试试看,我上午二十多分钟试了十几条都是正常的。另外它有时候会提示你检查session是否过期,重新请求有时候又能请求了,如果几次还不行可能就是真过期需要更新session了。
要是有其他问题欢迎随时联系
from dingtalk-chatgpt-bot.
多谢,等下更新下测试了给反馈哈。
from dingtalk-chatgpt-bot.
更新了,你可以试试看,我上午二十多分钟试了十几条都是正常的。另外它有时候会提示你检查session是否过期,重新请求有时候又能请求了,如果几次还不行可能就是真过期需要更新session了。 要是有其他问题欢迎随时联系
DOCKER还没上传对吧。。怪不得没拉到,如果准备上传的话我再等等哈哈
from dingtalk-chatgpt-bot.
我的,忘了打包docker了😓 你试试看
docker run -dp 8083:8083 fengcailing/dingtalk-chatgpt-bot:1.0.2
from dingtalk-chatgpt-bot.
新的报错为:
签名验证成功-----
retry_count 1
error
BadNamespaceError('/ is not a connected namespace.')
retry_count 2
error
BadNamespaceError('/ is not a connected namespace.')
retry_count 1
error
ConnectionError('Connection refused by the server')
retry_count 2
error
ConnectionError('Connection refused by the server')
retry_count 3
error
ConnectionError('Connection refused by the server')
retry_count 3
error
BadNamespaceError('/ is not a connected namespace.')
不过我启动依然用的
docker run -dp 8083:8083 dingtalk-chatgpt-bot:v1
命令,如果用
docker run -dp 8083:8083 fengcailing/dingtalk-chatgpt-bot:1.0.2
会丢失config.py内容
from dingtalk-chatgpt-bot.
我对docker不太熟,这两个是不同的镜像吧?这次顺便也更新了数据库的字段名称,要不你试试用1.0.2的,就是需要更新config.py的配置然后重新保存成新的镜像
from dingtalk-chatgpt-bot.
Related Issues (7)
- That model does not exist HOT 1
- BadNamespaceError('/ is not a connected namespace.')
- 大佬救命啊!!! HOT 2
- 大佬,能支持下docker部署吗 HOT 2
- 失败 HOT 2
- 请求接口失败,请稍后重试 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dingtalk-chatgpt-bot.