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:
parent
267d3648fc
commit
1e90597983
1 changed files with 1 additions and 0 deletions
1
setup.py
1
setup.py
|
@ -19,6 +19,7 @@ setup(
|
||||||
entry_points={"console_scripts": ["llama_cpp.server=llama_cpp.server:main"]},
|
entry_points={"console_scripts": ["llama_cpp.server=llama_cpp.server:main"]},
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"typing-extensions>=4.5.0",
|
"typing-extensions>=4.5.0",
|
||||||
|
"pydantic==1.10.7",
|
||||||
],
|
],
|
||||||
extras_require={
|
extras_require={
|
||||||
"server": ["uvicorn>=0.21.1", "fastapi>=0.95.0", "sse-starlette>=1.3.3"],
|
"server": ["uvicorn>=0.21.1", "fastapi>=0.95.0", "sse-starlette>=1.3.3"],
|
||||||
|
|
Loading…
Reference in a new issue