aurorax-neo / free-gpt3.5-2api Goto Github PK
View Code? Open in Web Editor NEWfree chat gpt api
Home Page: https://free-gpt3-5-2api-one.vercel.app
free chat gpt api
Home Page: https://free-gpt3-5-2api-one.vercel.app
content的内容太长会导致输出的content空白
API KEY: ?
API URL: ?
API URL PATH: ?
THANKS!
接口地址该如何填写?填写http://X.X.X.X:3040不通过,为什么?
{"detail":{"code":403,"msg":"Request error","error":null}}
gpt4o免费模型已有部分IP可以访问,能否添加上gpt4o模型
{
"detail": {
"code": 401,
"msg": "please restart the program、change the IP address、use a proxy to try again.",
"error": null
}
}
是要进去容器改go的代码吗?
你好
我使用koyeb部署该项目后,在测试接口时报404,请求命令如下
curl --location --request -X POST 'https://ridiculous-sephira-dogemaster.koyeb.app/v1/chat/completions' \
--header 'Authorization: Bearer abc' \
--header 'Content-Type: application/json' \
-d '{ \
"model": "gpt-3.5-turbo",\
"messages": [\
{\
"role": "user",\
"content": "西红柿炒钢丝球怎么做?"\
}\
],\
"stream": false\
}'
"please restart the program、change the IP address、use a proxy to try again."
2024-04-21 06:24:07 info Gpt35Pool/Gpt35Pool.go:36 PoolMaxCount: 64, AuthExpirationDate: 600, Init Gpt35Pool...
2024-04-21 06:24:07 info app/main.go:23 Server started on http://127.0.0.1:3040
panic: runtime error: index out of range [0] with length 0
goroutine 17 [running]:
free-gpt3.5-2api/ProxyPool.(*ProxyPool).GetProxy(...)
/app/ProxyPool/ProxyPool.go:42
free-gpt3.5-2api/chat.NewGpt35()
/app/chat/gpt35.go:72 +0x2b8
free-gpt3.5-2api/Gpt35Pool.(*Gpt35Pool).updateGpt35AtIndex(0xc0001284b0, 0x0)
/app/Gpt35Pool/Gpt35Pool.go:110 +0x3d
free-gpt3.5-2api/Gpt35Pool.(*Gpt35Pool).updateGpt35Pool(...)
/app/Gpt35Pool/Gpt35Pool.go:118
free-gpt3.5-2api/Gpt35Pool.(*Gpt35Pool).timingUpdateGpt35Pool(0xc0001284b0, 0xc000388c60?)
/app/Gpt35Pool/Gpt35Pool.go:86 +0x72
created by free-gpt3.5-2api/Gpt35Pool.GetGpt35PoolInstance.func1 in goroutine 1
/app/Gpt35Pool/Gpt35Pool.go:38 +0x1da
root@Japan02:~#
模型不是text-davinci-003吗,还是说等价于text-davinci-002-render-sha
The log :
2024-04-22 05:39:14 2024-04-21 21:39:14 error chat/gpt35.go:26 Pool GetGpt35 is empty 2024-04-22 05:39:14 2024-04-21 21:39:14 info middleware/v1.go:75 <- POST /v1/chat/completions - 500 2024-04-22 06:07:22 2024-04-21 22:07:22 info Gpt35Pool/Gpt35Pool.go:36 PoolMaxCount: 64, AuthExpirationDate: 600, Init Gpt35Pool... 2024-04-22 06:07:22 2024-04-21 22:07:22 info app/main.go:23 Server started on http://127.0.0.1:3040 2024-04-22 06:10:23 2024-04-21 22:10:23 info middleware/v1.go:38 -> POST /v1/chat/completions - 172.17.0.1 - Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) xyz.chatboxapp.app/1.3.3 Chrome/108.0.53
客户端用的是chatbox
接口请求,返回 Pool GetGpt35 is empty
,该如何刷新 session id 池呢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.