Skip to content

Commit 8b371d8

Browse files
authored
chore: fix incompatible with pydantic (#442)
1 parent 30fe269 commit 8b371d8

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.changeset/breezy-rice-shout.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"create-llama": patch
3+
---
4+
5+
Set pydantic version to <2.10 to avoid incompatibility with llama-index.

templates/types/extractor/fastapi/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ python = "^3.11,<4.0"
1313
fastapi = "^0.109.1"
1414
uvicorn = { extras = ["standard"], version = "^0.23.2" }
1515
python-dotenv = "^1.0.0"
16+
pydantic = "<2.10"
1617
llama-index = "^0.11.1"
1718
cachetools = "^5.3.3"
1819
reflex = "^0.6.2.post1"

templates/types/streaming/fastapi/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ python = ">=3.11,<3.14"
1616
fastapi = "^0.109.1"
1717
uvicorn = { extras = ["standard"], version = "^0.23.2" }
1818
python-dotenv = "^1.0.0"
19+
pydantic = "<2.10"
1920
aiostream = "^0.5.2"
2021
cachetools = "^5.3.3"
2122
llama-index = "^0.11.17"

0 commit comments

Comments
 (0)