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

Add header and cookie to support team account #445

Merged
merged 1 commit into from
Jan 21, 2024

Conversation

yongman
Copy link
Contributor

@yongman yongman commented Jan 21, 2024

Related issue #435

Add Chatgpt-Account-Id: xxx to header and _account=xxx to cookies if the request has this header setup.
It will send the request to the team account. If not set, the request will send to personal account.

The team account id can be acquired from https://chat.openai.com/backend-api/accounts/check/v4-2023-04-27.

Signed-off-by: yongman <yming0221@gmail.com>
@0x676e67 0x676e67 merged commit 2209119 into 0x676e67:main Jan 21, 2024
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.

2 participants