Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forefront 目前还是已经不支持? #6

Closed
chechuangfeng opened this issue May 7, 2023 · 18 comments
Closed

forefront 目前还是已经不支持? #6

chechuangfeng opened this issue May 7, 2023 · 18 comments

Comments

@chechuangfeng
Copy link

curl "http:https://127.0.0.1:3000/ask?prompt=hello&model=forefront&gptmodel=gpt-4&resignup=0"
{"message":"Cannot read properties of undefined (reading 'status')"}%

@xiangsx
Copy link
Owner

xiangsx commented May 7, 2023

更新代码再试试

@chechuangfeng
Copy link
Author

更新代码再试试

curl "http:https://127.0.0.1:3000/ask/stream?prompt=hi&model=forefront&gptmodel=gpt-4&resignup=0"
{}%

更新后不报错,但是个空的json

@xiangsx
Copy link
Owner

xiangsx commented May 7, 2023

看看日志里面有报错吗

@chechuangfeng
Copy link
Author

image

看看日志里面有报错吗

@xiangsx
Copy link
Owner

xiangsx commented May 7, 2023

启动之后第一次请求大概多少秒返回的,如果时间很长大概5~10秒,那大概率是成功了,打点日志自己调试一下吧,找到问题和我说一下

@xiangsx
Copy link
Owner

xiangsx commented May 7, 2023

image
我刚试了下 还是完全正常的

@chechuangfeng
Copy link
Author

image 我刚试了下 还是完全正常的

image

启动后第一次是可以的。第二次就不行了。

这个是有次数限制?

@huankong233
Copy link

我也返回了空json,尝试输出数据,但是都没有东西

image

@xiangsx
Copy link
Owner

xiangsx commented May 7, 2023

稍等我看看能不能复现,我这边正常的

@xiangsx
Copy link
Owner

xiangsx commented May 7, 2023

更新代码 兄弟们

@xiangsx
Copy link
Owner

xiangsx commented May 7, 2023

重新更新下。刚提交错了

@huankong233
Copy link

image

@huankong233
Copy link

image

秒返回的

@xiangsx
Copy link
Owner

xiangsx commented May 7, 2023

更新代码,resignup传1

@xiangsx xiangsx closed this as completed May 9, 2023
@rabotone
Copy link

Error: Need apikey for TempMail
at new TempMail44 (G:\gpt4free-ts-master\utils\emailFactory.ts:132:19)
at CreateEmail (G:\gpt4free-ts-master\utils\emailFactory.ts:15:20)
at Forefrontnew. (G:\gpt4free-ts-master\model\forefront\index.ts:65:41)
at Generator.next ()
at fulfilled (G:\gpt4free-ts-master\model\forefront\index.ts:5:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5)

@rabotone
Copy link

这个报错什么原因

@TuanZiGit
Copy link

503 Service Temporarily Unavailable
这个怎么解决,我的请求:/ask/stream?prompt=hello&model=forefront&gptmodel=gpt-4&resignup=1

@TuanZiGit
Copy link

event: error
data: {"error":"you not support model forefront"}

resignup=0 情况下会报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants