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 support for different api base url #20

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

loveQt
Copy link

@loveQt loveQt commented Aug 10, 2023

for those who use a different OpenAI API, they should edit the openai_api_base, or leave it as default.

@@ -12,6 +12,7 @@
from utils import *

openai.api_key = openai_api_key
openai.api_base = opean_api_base
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix the wording opean_api_base->openai_api_base

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed, sorry for the typo, it was too late to misread

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