Skip to content

Commit 38dfe8e

Browse files
Merge pull request #834 from MervinPraison/claude/pr-832-20250711_232348
PR #832: Changes from Claude
2 parents 4925dd7 + 9395c0f commit 38dfe8e

File tree

1 file changed

+2
-1
lines changed
  • src/praisonai-agents/praisonaiagents/agent

1 file changed

+2
-1
lines changed

src/praisonai-agents/praisonaiagents/agent/agent.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,8 @@ def chat(self, prompt, temperature=0.2, tools=None, output_json=None, output_pyd
12351235
agent_role=self.role,
12361236
agent_tools=[t.__name__ if hasattr(t, '__name__') else str(t) for t in (tools if tools is not None else self.tools)],
12371237
execute_tool_fn=self.execute_tool, # Pass tool execution function
1238-
reasoning_steps=reasoning_steps
1238+
reasoning_steps=reasoning_steps,
1239+
stream=stream # Pass the stream parameter from chat method
12391240
)
12401241

12411242
self.chat_history.append({"role": "assistant", "content": response_text})

0 commit comments

Comments
 (0)