Skip to content

Commit 39904c1

Browse files
authored
fix: Remove double next_action selection (#543)
1 parent ce0a6e4 commit 39904c1

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/steamship/agents/service/agent_service.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,6 @@ def run_agent(self, agent: Agent, context: AgentContext):
184184
)
185185
)
186186

187-
# Select the next action to run
188-
action = self.next_action(
189-
agent=agent, input_blocks=[context.chat_history.last_user_message], context=context
190-
)
191-
192187
# Run the next action and incremenet our counter
193188
self.run_action(agent=agent, action=action, context=context)
194189
number_of_actions_run += 1

0 commit comments

Comments
 (0)