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 option to disable gpt-4 for public deployment #124

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

eyurtsev
Copy link
Collaborator

No description provided.

Copy link

vercel bot commented Mar 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchain-extract ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 29, 2024 5:56pm

@eyurtsev eyurtsev requested a review from ccurme March 29, 2024 17:52
"chat_model": ChatOpenAI(model="gpt-4-0125-preview", temperature=0),
"description": "GPT-4 0125 Preview",
}
if os.environ.get("DISABLE_GPT4").lower() != "true":
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
if os.environ.get("DISABLE_GPT4").lower() != "true":
if os.environ.get("DISABLE_GPT4", "false").lower() != "true":

?

@eyurtsev eyurtsev merged commit c72c87f into main Mar 29, 2024
8 checks passed
@eyurtsev eyurtsev deleted the eugene/disable-gpt-4 branch March 29, 2024 18:00
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