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

update openai_api_server #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Mingyu-Wei
Copy link

@Mingyu-Wei Mingyu-Wei commented Mar 26, 2024

For pydantic v2, the dump_kwargs keyword arguments are not supported so we will run into this error when using the openai_api service.

TypeError: dumps_kwargs keyword arguments are no longer supported

Another workaround is to use older version of pydantic, but this will break the gradio service due to package version conflicts. Therefore we have to change the way we dump chunks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant