Closed hongyi-zhao closed 1 year ago
API_URL_REDIRECT = {https://你的服务/platform/v1/chat/completions}
https://github.com/linweiyuan/go-chatgpt-api/blob/main/example/vscode/platform.http#L18-L36
在余额过期的账号中platform提示余额不足,imitate提示write: broken pipe,请问怎么解决?
你知道 imitate 接口是用来做什么的吗
你知道 imitate 接口是用来做什么的吗
不是用来chatgpt转api的吗?我自己post可用,但是不知道为啥填进gpt_academic里就broken pipe
将 gpt_academic 更新到最新版本,然后参考我的测试方法。
参考我下面的测试方法:
还是broken pipe,不知道什么东西,可能跟我都使用docker部署有关
设置下面的了吗?
设置下面的了吗?
可以了,好得也莫名其妙的
能否配合 https://github.com/binary-husky/gpt_academic 使用?即基于本项目实现下面的反代:
https://github.com/binary-husky/gpt_academic/blob/37afcc709bfcd34e7ef9a25ab06347395c62a445/config.py#L35C1-L38C22
See https://github.com/binary-husky/gpt_academic/issues/900#issuecomment-1658463065 for the related discussion.