Updating for tests

This commit is contained in:
Cyber MacGeddon 2025-11-26 15:06:40 +00:00
parent f7184bdace
commit d8ca6ee9b6

View file

@ -273,7 +273,7 @@ class AgentManager:
logger.info("DEBUG: About to call agent_react with streaming=True") logger.info("DEBUG: About to call agent_react with streaming=True")
# Get streaming response # Get streaming response
response_text = await client.agent_react( response_text = await client.agent_react(
variables=variables, variables, # Positional for backward compat with tests
streaming=True, streaming=True,
chunk_callback=on_chunk chunk_callback=on_chunk
) )
@ -302,7 +302,7 @@ class AgentManager:
logger.info("DEBUG: About to call agent_react with streaming=False") logger.info("DEBUG: About to call agent_react with streaming=False")
response_text = await client.agent_react( response_text = await client.agent_react(
variables=variables, variables, # Positional for backward compat with tests
streaming=False streaming=False
) )
logger.info(f"DEBUG: agent_react returned, got response") logger.info(f"DEBUG: agent_react returned, got response")