Skip to content

Commit 450f5f0

Browse files
committed
Reverted agent, swarm, graph
1 parent 0b8898e commit 450f5f0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/strands/agent/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,4 +720,4 @@ def _end_agent_trace_span(
720720
def _append_message(self, message: Message) -> None:
721721
"""Appends a message to the agent's list of messages and invokes the callbacks for the MessageCreatedEvent."""
722722
self.messages.append(message)
723-
self.hooks.invoke_callbacks(MessageAddedEvent(agent=self, message=message))
723+
self.hooks.invoke_callbacks(MessageAddedEvent(agent=self, message=message))

src/strands/multiagent/graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,4 +716,4 @@ def _build_result(self) -> GraphResult:
716716
execution_order=self.state.execution_order,
717717
edges=self.state.edges,
718718
entry_points=self.state.entry_points,
719-
)
719+
)

src/strands/multiagent/swarm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,4 +653,4 @@ def _build_result(self) -> SwarmResult:
653653
execution_count=len(self.state.node_history),
654654
execution_time=self.state.execution_time,
655655
node_history=self.state.node_history,
656-
)
656+
)

0 commit comments

Comments
 (0)