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

Fix URL check preventing script load when using GPT-4 #915

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

danitt
Copy link

@danitt danitt commented May 25, 2023

There are multiple valid ChatGPT URLs, including

This fixes a bug where only the first URL in the above list would be considered valid, preventing proper initialisation with the other URLs.

The bug can be reproduced by setting this flag in chat.conf.json:

"main_origin": "https://chat.openai.com/?model=gpt-4",

@danitt danitt changed the title Fix URL check preventing script load on valid addresses Fix URL check preventing script load when using GPT-4 May 25, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants