Comments (20)
@benngai123
我一般是自建chatGPT服务,它们往往包含一个关于反向代理的参数,你将代理地址提供给它即可。
我的博客文章有一个方案,感兴趣可以尝试: https://blognas.hwb0307.com/linux/docker/4201我也没有太懂,具体是在go-chatgpt-api这个项目的哪个地方放accessToken呢?我尝试直接修改代码,貌似不太行。
go-chatgpt-api 我一般只是获得一个地址: http://ip:8080/conversation
。
至于access token,是在其它chatGPT项目里填写的,比如 Chanzhaoyu/chatgpt-web、Kerwin1202/chatgpt-web或moeakwak/chatgpt-web-share
from go-chatgpt-api.
正常的,没有遗漏了
因为这个项目只是提供了服务,accessToken
的话则需要自己账号获取:https://chat.openai.com/api/auth/session
直接访问没有带 token
,那当然就失败了
from go-chatgpt-api.
那么,请问我搭建好了,是直接使用http://ip:8080
吗? 只要这个效果类似 https://bypass.churchless.tech/api/conversation
就行,因为我以前是可以用后者的(最近被封了)
from go-chatgpt-api.
把配置改为这个就可以了,http:/ip:8080/conversation
,试一下
from go-chatgpt-api.
果然有效果
from go-chatgpt-api.
不知道是不是VPS的IP问题,我使用的时候总是不稳。就算用了warp也不行
但另外一个小伙伴成功并且稳定地建了反代。 羡慕 Σ( ° △ °|||)︴
from go-chatgpt-api.
确实不稳,只是勉强能用的程度,但安全,token
不经别人服务器
from go-chatgpt-api.
正常的,没有遗漏了
因为这个项目只是提供了服务,
accessToken
的话则需要自己账号获取:https://chat.openai.com/api/auth/session直接访问没有带
token
,那当然就失败了
请问是在哪里设置 accessToken,我直接重写了 GetAccessToken() 也不行
from go-chatgpt-api.
我一般是自建chatGPT服务,它们往往包含一个关于反向代理的参数,你将代理地址提供给它即可。
我的博客文章有一个方案,感兴趣可以尝试: https://blognas.hwb0307.com/linux/docker/4201
from go-chatgpt-api.
我一般是自建chatGPT服务,它们往往包含一个关于反向代理的参数,你将代理地址提供给它即可。
我的博客文章有一个方案,感兴趣可以尝试: https://blognas.hwb0307.com/linux/docker/4201
我也没有太懂,具体是在go-chatgpt-api这个项目的哪个地方放accessToken呢?我尝试直接修改代码,貌似不太行。
from go-chatgpt-api.
@yayaQAQ accessToken
放在前端项目,go-chatgpt-api
这个项目只是做一个转发
你用的前端项目是哪一款,如果是 chatgpt-web
,那就是配置 OPENAI_ACCESS_TOKEN
from go-chatgpt-api.
@yayaQAQ
accessToken
放在前端项目,go-chatgpt-api
这个项目只是做一个转发你用的前端项目是哪一款,如果是
chatgpt-web
,那就是配置OPENAI_ACCESS_TOKEN
我在调用的时候确实加入了accessToken,但是这个项目编译运行了之后,好像过一段时间会挂掉,我以为是由于accessToken缺失导致的。
from go-chatgpt-api.
这个好办,参考这个:#22
from go-chatgpt-api.
这个好办,参考这个:#22
怎么让chromedriver一直在后台运行呢?我把代码里面的Close()函数都关掉了,还是过一段时间会挂掉。
from go-chatgpt-api.
你是苹果系统?
看看你是怎么跑的 chromedriver,是否有误
from go-chatgpt-api.
你是苹果系统?
看看你是怎么跑的 chromedriver,是否有误
确实是苹果系统,我并没有特地的跑chromedriver,我是直接运行编译后的 go-chatgpt-api 二进制文件,也可以启动。但是过一段时间会挂掉。
from go-chatgpt-api.
from go-chatgpt-api.
你是苹果系统?
看看你是怎么跑的 chromedriver,是否有误确实是苹果系统,我并没有特地的跑chromedriver,我是直接运行编译后的 go-chatgpt-api 二进制文件,也可以启动。但是过一段时间会挂掉。
没有跑 chromedriver
理论上起不来
我看你最上面的图是 /api/conversation
,默认没有 /api
from go-chatgpt-api.
你可以试试这个
https://www.selenium.dev/documentation/webdriver/getting_started/install_drivers/
from go-chatgpt-api.
非常感谢大家的热心帮忙!
我已经成功地使用go-chatgpt-api进行自建代理了。 具体的经验我已经在博客里总结, 感兴趣的小伙伴可以去看看: https://blognas.hwb0307.com/linux/docker/4201
暂时关闭该issue喽!
from go-chatgpt-api.
Related Issues (20)
- go-chatgpt-api 不向 ARKOSE_TOKEN_URL 发送请求就返回 Failed to get arkose token. HOT 1
- 可以在docker-compose里使用账号密码组来让他自动获取token吗? HOT 2
- chatgpt-proxy-server-warp 这个源代码为啥隐藏? HOT 6
- 和潘多拉联动的话,key还需要吗? HOT 2
- failed to start HOT 10
- refreshPuidErrorMessage HOT 2
- Post "https://chat.openai.com/backend-api/conversation": unexpected EOF HOT 1
- platform/login err HOT 7
- 更新了最新的镜像版本,还是报错nil和403 HOT 6
- 登录获取access token似乎还是有问题 HOT 2
- Latest Image does not locate .har file HOT 1
- 不支持vercel吗 HOT 1
- 大神回复真快 HOT 10
- 这个怎么使用,我点了render按钮。部署成功后返回service go-chatgpt-api is ready信息。 HOT 1
- 最新版镜像报错422,"none is not an allowed value" HOT 1
- 提问后拿不到结果 HOT 4
- chatgpt login err HOT 10
- tcr9i.chat.openai.com connect: connection timed out HOT 8
- AccessToken 和 模拟 apiKey 下的报错问题 HOT 3
- 如何模拟 https://api.openai.com/v1/models接口呢 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 go-chatgpt-api.