From 5aaebdd7432b52427877f1bf7608118907fed879 Mon Sep 17 00:00:00 2001 From: gaobinlong Date: Thu, 30 Nov 2023 15:57:39 +0800 Subject: [PATCH] Add some comments Signed-off-by: gaobinlong --- public/components/agent_framework_traces.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/public/components/agent_framework_traces.tsx b/public/components/agent_framework_traces.tsx index 5dd26727..903b494a 100644 --- a/public/components/agent_framework_traces.tsx +++ b/public/components/agent_framework_traces.tsx @@ -64,6 +64,7 @@ ${result}

Response

{traces + // if origin exists, it indicates that the trace was generated by a tool, we only show the non-empty traces of tools .filter((trace) => trace.origin && (trace.input || trace.output)) .map((trace, i) => { const stepContent = `Step ${i + 1}`;