Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
vblagoje committed May 17, 2023
1 parent 48fc634 commit cf0183f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haystack/agents/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def on_agent_start(**kwargs: Any) -> None:
self.callback_manager.on_new_token += lambda token, **kwargs: print_text(token, color=agent_color)
else:
self.callback_manager.on_agent_step += lambda agent_step: print_text(
agent_step.prompt_node_response + "\n", color=agent_color
agent_step.prompt_node_response, end="\n", color=agent_color
)

def add_tool(self, tool: Tool):
Expand Down

0 comments on commit cf0183f

Please sign in to comment.