Skip to content

Commit f1bf666

Browse files
zzstoatzzclaude
andcommitted
fix: remove deprecated pydantic-ai attribute reference
Removes reference to `_deprecated_result_tool_name` which was removed in pydantic-ai 0.6.0. Updates minimum pydantic-ai version to 0.6.0. Fixes #1184 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e7271cc commit f1bf666

3 files changed

Lines changed: 572 additions & 68 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies = [
1010
"alembic>=1.12.0",
1111
"jinja2>=3.1.4",
1212
"partial-json-parser>=0.2.1.1.post5",
13-
"pydantic-ai>=0.3.3",
13+
"pydantic-ai>=0.6.0",
1414
"pydantic-settings>=2.6.1",
1515
"pydantic[email]>=2.10.6",
1616
"rich>=13.9.4",

src/marvin/engine/streaming.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ async def handle_agentlet_events(
8787
end_turn_tools_map = {}
8888
for t in agentlet._marvin_end_turn_tools:
8989
end_turn_tools_map[t.__name__] = t
90-
end_turn_tools_map[f"{agentlet._deprecated_result_tool_name}_{t.__name__}"] = t
9190

9291
async for node in run:
9392
if pydantic_ai.Agent.is_user_prompt_node(node):

0 commit comments

Comments
 (0)