Comments (14)
I am guessing within a week! π Thank you π
from aishell.
Hey @xshapira! I've just released a new version featuring automatic browser login using access tokens! #56
Now, every time you make a request, it retrieves a fresh access token using your credentials from your chosen browser. Although this is a breaking change, you'll need to set up AiShell once more, but it shouldn't be too bothersome as all you need to do is select your preferred browser. And this patch also have done to ygka too. (They now share the same config)
Thank you for using the AiShell!
from aishell.
Guess the problem of revChatGPT? have you tried with the openai official api or the reverse engineered api?
Sorry for the late answer BTW
from aishell.
having the same issue! I am using the reverse engineering one.
Browser: Firefox
SSLError: HTTPSConnectionPool(host='explorer.api.openai.com', port=443): Max retries exceeded with url: /api/auth/session (Caused by SSLError(SSLError(1, '[SSL:
SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:992)')))
from aishell.
Currently recommend to use Official API, but i am looking into this and will fix ASAP. sorry π
from aishell.
- The
cookie parsing
feature retrieves the 'session token` from the given browser. - The
session token
no longer works as OpenAI's ChatGPT authentication method access token
now works instead ofsession token
- Since
access token
can be expired easily, I think I have to add an option to the AiShell Config:default browser
and to retrieve access token, every time the user queries.
from aishell.
I am super busy now so expecting to be fixed not very soon, so now just recommend to use Official API. π Thanks!
from aishell.
As a solution of this, I am thinking of:
- Update config json like following
{
"language_model": "reverse_engineered_chatgpt",
"openai_api_key": null,
"browser": "brave" // firefox, chrome, safari or whatever
}
- Replace session token retrieving code as access token retrieving code
- Using the browser's cookie, send request to
https://chat.openai.com/api/auth/session
to get the access token
- Send request to ChatGPT using configured information from 2
from aishell.
As a solution of this, I am thinking of:
- Update config json like following
{ "language_model": "reverse_engineered_chatgpt", "openai_api_key": null, "browser": "brave" // firefox, chrome, safari or whatever }
- Replace session token retrieving code as access token retrieving code
- Using the browser's cookie, send request to
https://chat.openai.com/api/auth/session
to get the access token
- Send request to ChatGPT using configured information from 2
This looks good! Reverse engineering is really useful for ChatGPT Plus subscribers. Do you know when you'll release an update?
Thanks for the hard work π
from aishell.
@xshapira FYI, before I update, You can use aishell by doing following:
- You can visit https://chat.openai.com/api/auth/session to get the access token
- and manually set access token into the json file (
~/.aishell_config.json
)
from aishell.
@xshapira FYI, before I update, You can use aishell by doing following:
- You can visit https://chat.openai.com/api/auth/session to get the access token
- and manually set access token into the json file (
~/.aishell_config.json
)
I followed your instructions but got this error (have the same issue with the younger brother of this project, YGK-a
):
from aishell.
it definetely looks like because of the version of revchatgpt, i am going to bump up that.
from aishell.
Just released new version with version up. Guess now it's gonna work.
Plus, if you have further issues with YGK-a
, please issue it on YGK-a
. Thanks!
from aishell.
Just released new version with version up. Guess now it's gonna work.
Plus, if you have further issues with
YGK-a
, please issue it onYGK-a
. Thanks!
Works like a charm! Thank you π
from aishell.
Related Issues (16)
- `AiShell` Broken - `RevChatGPT` Leaked Version No Longer Working
- Add support for `gpt-3.5-turbo`
- Update README fancier
- Make configurable by reading settings file HOT 2
- Implement Safety Measures for Dangerous Commands in `AiShell` HOT 1
- Fix demo image not showing on PyPI
- Automate Access Key parsing using browser's cookie
- Remove poetry as requirements in README
- Improved Install Method for AiShell
- Add support for free api HOT 2
- Replace query clients and cookie parsing stuff to `YGK-a`
- Generate a git commit message based on a diff HOT 3
- Use Access Token instead of Session Token HOT 1
- `REVERSE_ENGINEERED_CHATGPT` doesn't work, only `OFFICIAL_CHATGPT` works
- Try using the latest version of this repo acheong08 / ChatGPT. HOT 1
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 aishell.