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

Added support for organization ID #933

Merged
merged 1 commit into from
Apr 19, 2023
Merged

Added support for organization ID #933

merged 1 commit into from
Apr 19, 2023

Conversation

yinm0591
Copy link
Contributor

Added support for organization ID

Add OrgID
@yinm0591
Copy link
Contributor Author

每个用户都有organization ID,即使是免费用户也有。我PR的这个功能对普通用户也有用,如果在环境变量里配置了自己的组织ID后,整个系统就被锁定在这个组织内,别人就无法用其它api key使用系统了。

@ccinoo
Copy link

ccinoo commented Apr 20, 2023

在vercel中增加环境变量名叫OPENAI_ORG_ID,对吗?

@yinm0591
Copy link
Contributor Author

@ccinoo 是的

yxl pushed a commit to yxl/ChatGPT-Next-Web that referenced this pull request May 4, 2023
Added support for organization ID
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.

3 participants