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

chore: refactoring API and adding stubs for new OpenAI endpoints #437

Merged
merged 41 commits into from
Apr 29, 2024

Conversation

gphorvath
Copy link

@gphorvath gphorvath commented Apr 24, 2024

Adds stubs for new assistants endpoint
Refactors API into separate routers for each route

Copy link

netlify bot commented Apr 24, 2024

Deploy Preview for leapfrogai-docs canceled.

Name Link
🔨 Latest commit 3ec652c
🔍 Latest deploy log https://app.netlify.com/sites/leapfrogai-docs/deploys/6630104ee96dc8000869882d

@gphorvath gphorvath marked this pull request as ready for review April 24, 2024 19:58
@gphorvath gphorvath requested a review from a team as a code owner April 24, 2024 19:58
@gphorvath gphorvath marked this pull request as draft April 24, 2024 20:57
@gphorvath gphorvath marked this pull request as ready for review April 24, 2024 21:29
@gphorvath gphorvath marked this pull request as draft April 24, 2024 21:30
@gphorvath gphorvath marked this pull request as ready for review April 25, 2024 16:20
Copy link
Member

@gerred gerred left a comment

Choose a reason for hiding this comment

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

One thing we should be consistent on is using Union[x,y] vs. x | y in type signatures. We had users pinned on Python 3.8 (maybe now less relevant with our direciton) before type syntax was built into Python. I'm fine with moving either direction, but this PR should unify on one or the other.

Other than that, lgtm.

@gphorvath gphorvath requested a review from gerred April 29, 2024 21:28
Copy link
Member

@gerred gerred left a comment

Choose a reason for hiding this comment

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

lgtm!

@gerred gerred merged commit cba9676 into main Apr 29, 2024
9 of 10 checks passed
@gerred gerred deleted the stubs-ahoy branch April 29, 2024 22:29
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