mirror of
https://github.com/abetlen/llama-cpp-python.git
synced 2023-09-07 17:34:22 +03:00
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:
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"],
|
||||||
|
|||||||
Reference in New Issue
Block a user