Skip to content

Commit 54f72de

Browse files
committed
v2.5.2
1 parent fab9128 commit 54f72de

File tree

7 files changed

+36
-18
lines changed

7 files changed

+36
-18
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,6 @@ llmenv*
4040
# ignore jupyter checkpoints
4141
.ipynb_checkpoints
4242
.Trash*
43+
44+
# ignore uv.lock
45+
uv.lock

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,26 @@ dependencies = [
99
"alembic",
1010
"beautifulsoup4",
1111
"duckdb",
12+
"duckduckgo-search",
1213
"exa_py",
1314
"fastapi[standard]",
15+
"google-search-results",
1416
"mypy",
17+
"nest_asyncio",
1518
"openai",
1619
"pgvector",
17-
"phidata[aws]==2.5.0a13",
20+
"phidata[aws]==2.5.2",
21+
"pillow",
1822
"psycopg[binary]",
1923
"pypdf",
2024
"pytest",
25+
"python-docx",
2126
"ruff",
2227
"sqlalchemy",
2328
"tiktoken",
2429
"typer",
2530
"types-beautifulsoup4",
31+
"types-Pillow",
2632
"yfinance",
2733
]
2834

requirements.txt

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,30 @@
22
# ./scripts/generate_requirements.sh upgrade
33
alembic==1.13.3
44
annotated-types==0.7.0
5-
anyio==4.6.0
5+
anyio==4.6.2.post1
66
beautifulsoup4==4.12.3
7-
boto3==1.35.38
8-
botocore==1.35.38
7+
boto3==1.35.41
8+
botocore==1.35.41
99
certifi==2024.8.30
1010
charset-normalizer==3.4.0
1111
click==8.1.7
1212
distro==1.9.0
1313
dnspython==2.7.0
1414
docker==7.1.0
15-
duckdb==1.1.1
15+
duckdb==1.1.2
16+
duckduckgo-search==6.3.2
1617
email-validator==2.2.0
1718
exa-py==1.4.0
18-
fastapi==0.115.0
19+
fastapi==0.115.2
1920
fastapi-cli==0.0.5
20-
frozendict==2.4.5
21+
frozendict==2.4.6
2122
gitdb==4.0.11
2223
gitpython==3.1.43
24+
google-search-results==2.4.2
2325
h11==0.14.0
2426
html5lib==1.1
2527
httpcore==1.0.6
26-
httptools==0.6.1
28+
httptools==0.6.2
2729
httpx==0.27.2
2830
idna==3.10
2931
iniconfig==2.0.0
@@ -36,17 +38,20 @@ markdown-it-py==3.0.0
3638
markupsafe==3.0.1
3739
mdurl==0.1.2
3840
multitasking==0.0.11
39-
mypy==1.11.2
41+
mypy==1.12.0
4042
mypy-extensions==1.0.0
43+
nest-asyncio==1.6.0
4144
numpy==2.1.2
4245
openai==1.51.2
4346
packaging==24.1
4447
pandas==2.2.3
45-
peewee==3.17.6
48+
peewee==3.17.7
4649
pgvector==0.3.5
47-
phidata==2.5.0a13
50+
phidata==2.5.2
51+
pillow==11.0.0
4852
platformdirs==4.3.6
4953
pluggy==1.5.0
54+
primp==0.6.4
5055
psycopg==3.1.19
5156
psycopg-binary==3.1.19
5257
pydantic==2.9.2
@@ -56,6 +61,7 @@ pygments==2.18.0
5661
pypdf==5.0.1
5762
pytest==8.3.3
5863
python-dateutil==2.9.0.post0
64+
python-docx==1.1.2
5965
python-dotenv==1.0.1
6066
python-multipart==0.0.12
6167
pytz==2024.2
@@ -70,19 +76,20 @@ six==1.16.0
7076
smmap==5.0.1
7177
sniffio==1.3.1
7278
soupsieve==2.6
73-
sqlalchemy==2.0.35
74-
starlette==0.38.6
79+
sqlalchemy==2.0.36
80+
starlette==0.40.0
7581
tiktoken==0.8.0
7682
tomli==2.0.2
7783
tqdm==4.66.5
7884
typer==0.12.5
7985
types-beautifulsoup4==4.12.0.20240907
8086
types-html5lib==1.1.11.20240806
87+
types-pillow==10.2.0.20240822
8188
typing-extensions==4.12.2
8289
tzdata==2024.2
8390
urllib3==2.2.3
84-
uvicorn==0.31.1
85-
uvloop==0.20.0
91+
uvicorn==0.32.0
92+
uvloop==0.21.0
8693
watchfiles==0.24.0
8794
webencodings==0.5.1
8895
websockets==13.1

tests/evals/test_calculator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def test_9_11_bigger_or_9_9():
99
evaluation = Eval(
1010
agent=get_calculator_agent(),
1111
question="Is 9.11 bigger or 9.9?",
12-
ideal_answer="9.11 is smaller than 9.9",
12+
expected_answer="9.11 is smaller than 9.9",
1313
)
1414
result: Optional[EvalResult] = evaluation.print_result()
1515

workspace/dev_resources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
dev_image = DockerImage(
1414
name=f"{ws_settings.image_repo}/{ws_settings.image_name}",
1515
tag=ws_settings.dev_env,
16-
enabled=True,
16+
enabled=ws_settings.build_images,
1717
path=str(ws_settings.ws_root),
1818
push_image=False,
1919
)

workspace/prd_resources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
prd_image = DockerImage(
2424
name=f"{ws_settings.image_repo}/{ws_settings.image_name}",
2525
tag=ws_settings.prd_env,
26-
enabled=True,
26+
enabled=ws_settings.build_images,
2727
path=str(ws_settings.ws_root),
2828
platforms=["linux/amd64", "linux/arm64"],
2929
push_image=True,

workspace/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,6 @@
3434
image_name="demo-agents",
3535
# Repository for the image
3636
image_repo="phidata",
37+
# Build images locally
38+
build_images=False,
3739
)

0 commit comments

Comments
 (0)