From c55e4569ba67773119271e01f98c5093c444a51c Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Fri, 28 Nov 2025 15:47:44 +0000 Subject: [PATCH] Answer confusion --- trustgraph-flow/trustgraph/agent/react/service.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/trustgraph-flow/trustgraph/agent/react/service.py b/trustgraph-flow/trustgraph/agent/react/service.py index f354e79a..a4238e36 100755 --- a/trustgraph-flow/trustgraph/agent/react/service.py +++ b/trustgraph-flow/trustgraph/agent/react/service.py @@ -352,14 +352,14 @@ class Processor(AgentService): if streaming: # Streaming format - send end-of-dialog marker - # Answer chunks were already sent via think() callback during parsing + # Answer chunks were already sent via answer() callback during parsing r = AgentResponse( chunk_type="answer", content="", # Empty content, just marking end of dialog end_of_message=True, end_of_dialog=True, - # Legacy fields for backward compatibility - answer=act.final, + # Legacy fields set to None - answer already sent via streaming chunks + answer=None, error=None, thought=None, )