mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-24 04:31:02 +02:00
Tweaked still not working
This commit is contained in:
parent
66a74abfda
commit
b2806d6e65
1 changed files with 5 additions and 2 deletions
|
|
@ -237,7 +237,7 @@ class AgentManager:
|
|||
|
||||
# Get streaming response
|
||||
response_text = await context("prompt-request").agent_react(
|
||||
variables,
|
||||
variables=variables,
|
||||
streaming=True,
|
||||
chunk_callback=on_chunk
|
||||
)
|
||||
|
|
@ -255,7 +255,10 @@ class AgentManager:
|
|||
|
||||
else:
|
||||
# Non-streaming path - get complete text and parse
|
||||
response_text = await context("prompt-request").agent_react(variables, streaming=False)
|
||||
response_text = await context("prompt-request").agent_react(
|
||||
variables=variables,
|
||||
streaming=False
|
||||
)
|
||||
|
||||
logger.debug(f"Response text:\n{response_text}")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue