Skip to content

Commit 346eebb

Browse files
committed
Readd infer_name=False
1 parent 8c9ad90 commit 346eebb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pydantic_ai_slim/pydantic_ai/agent/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,10 +651,11 @@ async def get_instructions(run_context: RunContext[AgentDepsT]) -> str | None:
651651
try:
652652
async with toolset:
653653
async with graph.iter(
654+
inputs=user_prompt_node,
654655
state=state,
655656
deps=graph_deps,
656-
inputs=user_prompt_node,
657657
span=use_span(run_span) if run_span.is_recording() else None,
658+
infer_name=False,
658659
) as graph_run:
659660
agent_run = AgentRun(graph_run)
660661
yield agent_run

0 commit comments

Comments
 (0)