8000 Add pydantic dep. Errors if pedantic isn't present. Also throws error… · coderonion/llama-cpp-python@1e90597 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1e90597

Browse files
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...
1 parent 267d364 commit 1e90597

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
entry_points={"console_scripts": ["llama_cpp.server=llama_cpp.server:main"]},
2020
install_requires=[
2121
"typing-extensions>=4.5.0",
22+
"pydantic==1.10.7",
2223
],
2324
extras_require={
2425
"server": ["uvicorn>=0.21.1", "fastapi>=0.95.0", "sse-starlette>=1.3.3"],

0 commit comments

Comments
 (0)
0