Add pydantic dep. Errors if pedantic isn't present. Also throws errors relating to TypeDict or subclass() if the version is too old or new...

This commit is contained in:
MillionthOdin16 2023-04-05 17:37:06 -04:00
parent 267d3648fc
commit 1e90597983

View file

@ -19,6 +19,7 @@ setup(
entry_points={"console_scripts": ["llama_cpp.server=llama_cpp.server:main"]},
install_requires=[
"typing-extensions>=4.5.0",
"pydantic==1.10.7",
],
extras_require={
"server": ["uvicorn>=0.21.1", "fastapi>=0.95.0", "sse-starlette>=1.3.3"],