mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-26 05:50:32 +00:00
fix(agent): set empty details in asset tool results to avoid data duplication (#370)
This commit is contained in:
@@ -45,7 +45,8 @@ describe('createCreateFolderTool', () => {
|
||||
creatorId: 'user-1',
|
||||
})
|
||||
|
||||
expect(result.details).toEqual({
|
||||
expect(result.details).toEqual({})
|
||||
expect(JSON.parse((result.content[0] as { text: string }).text)).toEqual({
|
||||
id: 'folder-1',
|
||||
name: 'New Folder',
|
||||
type: 'folder',
|
||||
|
||||
Reference in New Issue
Block a user