Leask / halbot

Just another `ChatGPT` / `Gemini` / `Mistral (by ollama)` Telegram bob, which is simple design, easy to use, extendable and fun.

Home Page:https://leaskh.com/post/711636926789271552/halbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggest:Add access_token type to use chatgpt,and this is the most easy way to use gpt4 for plus user.

iknow2333 opened this issue · comments

So we don't have to keep the web open until gpt4 completes his answer slowly.

How, can you show me more info? thanks!

Thanks for your response!

I am sorry I am not professional that may give you something wrong.

Does this program base on node-chatbot-API?
If so, here is the demo.
https://github.com/waylaidwanderer/node-chatgpt-api/blob/main/demos/use-browser-client.js
and maybe can change the model here:
https://github.com/waylaidwanderer/node-chatgpt-api/blob/main/src/ChatGPTBrowserClient.js
get accessToken here:
https://chat.openai.com/api/auth/session

This program seems to work well in the same way. I can add an env variable "OPENAI_API_MODEL=gpt4" to use gpt4.
https://github.com/Chanzhaoyu/chatgpt-web

Ignore it, access_token doesn't seem to work stably

Yes, the web client API is not so stable for now.
Thanks for your idea. I will keep an eye on model v4.

Yes, the web client API is not so stable for now.
Thanks for your idea. I will keep an eye on model v4.

https://github.com/linweiyuan/go-chatgpt-api
这个仓库已经成功绕过cf了,而且比之前的社区代理更加快速和安全,所有我们要做的仅仅是部署在私有服务器上

不錯,我看看是不是有可以借鑑的地方。🙏