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

Temporary fix OpenAI API for Pydantic v1/v2 #153

Merged
merged 1 commit into from
Feb 6, 2024
Merged

Conversation

comaniac
Copy link
Contributor

@comaniac comaniac commented Feb 6, 2024

Relate to #126

This PR makes OpenAI API compatible with both Pydantic v1 and v2. Since this is a temporary fix, we should remove the changes in this PR after dropping the Pydantic v1.

cc @fozziethebeat

@merrymercy merrymercy merged commit ccbe1e6 into main Feb 6, 2024
@merrymercy merrymercy deleted the cody/pydantic2 branch February 6, 2024 19:34
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