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

feat: using global openai endpoint #269

Merged
merged 1 commit into from
Mar 15, 2024
Merged

Conversation

okisdev
Copy link
Owner

@okisdev okisdev commented Mar 15, 2024

No description provided.

Copy link

vercel bot commented Mar 15, 2024

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

Name Status Preview Updated (UTC)
chat-chat ✅ Ready (Inspect) Visit Preview Mar 15, 2024 1:46am

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @okisdev - I've reviewed your changes and they look great!

General suggestions:

  • Consider adding a fallback value for the OpenAI API model and temperature in case neither the configuration nor environment variables are set.
  • Ensure that the introduction of the environment variable as a fallback does not introduce any security or operational concerns.
  • Review the application's documentation to ensure that the use of the new environment variable is clearly explained.
Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Docstrings: all looks good

Thanks for using Sourcery. We offer it for free for open source projects and would be very grateful if you could help us grow. If you like it, would you consider sharing Sourcery on your favourite social media? ✨

Share Sourcery

Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

@okisdev okisdev merged commit b947cdb into main Mar 15, 2024
2 checks passed
@okisdev okisdev deleted the feat/using-global-endpoint branch March 15, 2024 01:46
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

1 participant