mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-25 02:19:28 +00:00
fix(agent): set empty details in asset tool results to avoid data duplication (#370)
This commit is contained in:
@@ -44,7 +44,7 @@ export function createCreateFolderTool(userId: string): AgentTool<typeof createF
|
||||
|
||||
return {
|
||||
content: [{ type: 'text', text: JSON.stringify(result, null, 2) }],
|
||||
details: result,
|
||||
details: {},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user