Skip to content

Commit

Permalink
Add some comments
Browse files Browse the repository at this point in the history
Signed-off-by: gaobinlong <[email protected]>
  • Loading branch information
gaobinlong committed Nov 30, 2023
1 parent 1b287c1 commit 5aaebdd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/components/agent_framework_traces.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ ${result}
<h3>Response</h3>
</EuiText>
{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}`;
Expand Down

0 comments on commit 5aaebdd

Please sign in to comment.