Skip to content

Commit 69391cb

Browse files
committed
update for pydanticai breaking change
1 parent 28ddc19 commit 69391cb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

augmenta/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ async def run(
163163
)
164164

165165
# Return the appropriate result format
166-
return result.data.model_dump() if response_format else result.data
166+
return result.output.model_dump() if response_format else result.output
167167
except Exception as e:
168168
logfire.error(f"LLM request failed: {e}")
169169
raise RuntimeError(f"LLM request failed: {e}")

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "augmenta"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
description = "AI-powered library for data enrichment using search results"
55
readme = "README.md"
66
requires-python = ">=3.10"
@@ -15,7 +15,7 @@ dependencies = [
1515
"pyyaml>=6.0.0",
1616
"pandas>=1.0.0",
1717
"pydantic>=2.0.0",
18-
"pydantic-ai>=0.4.6",
18+
"pydantic-ai>=0.6.0",
1919
"logfire[httpx]>=3.9.0",
2020
"trafilatura>=2.0.0",
2121
"aiolimiter>=1.2.0",

0 commit comments

Comments
 (0)