-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[CLN] Cleaned up OpenAI JS EF #2108
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Reviewer ChecklistPlease leverage this checklist to ensure your code review is thorough before approving Testing, Bugs, Errors, Logs, Documentation
System Compatibility
Quality
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got a little pedantic on this PR so feel free to ignore me if it doesn't resonate with you :)
I do think it might be nice to resolve the potential double initialization issue but also up to you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
- Also added support for org ID in v4 client
- getOpenAI client instead of init - Fixed casing inconsistency - removed unnecessary ts-ignore - Better import flow
3c81a6e
to
52602e2
Compare
7cd4d96
to
52602e2
Compare
@AlabasterAxe, I think we should bite the bullet on the Lint CI and it seems to be a rabbit hole (I'll fix in another PR). |
Description of changes
Summarize the changes made by this PR.
Test plan
How are these changes tested?
yarn test
for jsDocumentation Changes
N/A