mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-24 04:31:02 +02:00
Updating for tests
This commit is contained in:
parent
f7184bdace
commit
d8ca6ee9b6
1 changed files with 2 additions and 2 deletions
|
|
@ -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")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue