Skip to content

Commit 12cb3cc

Browse files
author
HanYuanxi
committed
fix: add file name & type
1 parent 38ab43a commit 12cb3cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/agent-tools/src/builtin/sandbox.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ plt.savefig('chart.png')
151151
parentResultId: config.configurable?.resultId,
152152
warnings,
153153
files: files.map((origin) => ({
154+
type: origin.type,
155+
name: origin.name,
154156
fileId: origin.fileId,
155157
url: origin.url,
156158
})),

0 commit comments

Comments
 (0)