Skip to content

Commit 5280163

Browse files
committed
refactor: remove unused variable
- Removed the unused `parts` variable in `UserPromptNode`.
1 parent a235ee7 commit 5280163

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pydantic_ai_slim/pydantic_ai/_agent_graph.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ async def run( # noqa: C901
229229
# Build the run context after `ctx.deps.prompt` has been updated
230230
run_context = build_run_context(ctx)
231231

232-
parts: list[_messages.ModelRequestPart] = []
233232
if messages:
234233
await self._reevaluate_dynamic_prompts(messages, run_context)
235234

0 commit comments

Comments
 (0)