fix: freeze pydantic to v1 (#429)

This commit is contained in:
Keming 2023-07-12 23:10:55 +08:00 committed by GitHub
parent c894836108
commit 51be365143
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,5 +8,5 @@ transformers >= 4.28.0 # Required for LLaMA.
xformers >= 0.0.19
fastapi
uvicorn
pydantic # Required for OpenAI server.
pydantic < 2 # Required for OpenAI server.
fschat # Required for OpenAI ChatCompletion Endpoint.