From 1e90597983e8273568e1d50c90e471c5290d3822 Mon Sep 17 00:00:00 2001 From: MillionthOdin16 <102247808+MillionthOdin16@users.noreply.github.com> Date: Wed, 5 Apr 2023 17:37:06 -0400 Subject: [PATCH] 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... --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 7e4193a..f50fe8d 100644 --- a/setup.py +++ b/setup.py @@ -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"],