Skip to content

Commit 57ecebf

Browse files
committed
Refactor visualization node label formatting in get_all_nodes function
1 parent 48fad9e commit 57ecebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agents/extensions/visualization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def get_all_nodes(agent: Agent, parent: Optional[Agent] = None) -> str:
5757
for handoff in agent.handoffs:
5858
if isinstance(handoff, Handoff):
5959
parts.append(
60-
f'"{handoff.agent_name}" [label="{handoff.agent_name}", shape=box, '
60+
f'"{handoff.agent_name}" [label="{handoff.agent_name}", '
6161
f"shape=box, style=filled, style=rounded, "
6262
f"fillcolor=lightyellow, width=1.5, height=0.8];"
6363
)

0 commit comments

Comments
 (0)