mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-23 20:21:03 +02:00
Fix agent streaming linkage
This commit is contained in:
parent
f79d0603f7
commit
04f870ee2a
1 changed files with 2 additions and 2 deletions
|
|
@ -241,8 +241,8 @@ class AgentManager:
|
|||
logger.info("DEBUG: StreamingReActParser created")
|
||||
|
||||
# Create async chunk callback that feeds parser and sends collected chunks
|
||||
async def on_chunk(text):
|
||||
logger.info(f"DEBUG: on_chunk called with {len(text)} chars")
|
||||
async def on_chunk(text, end_of_stream):
|
||||
logger.info(f"DEBUG: on_chunk called with {len(text)} chars, end_of_stream={end_of_stream}")
|
||||
|
||||
# Track what we had before
|
||||
prev_thought_count = len(thought_chunks)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue