mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-26 04:28:22 +00:00
fix(agent): set empty details in asset tool results to avoid data duplication (#370)
This commit is contained in:
@@ -82,7 +82,7 @@ export function createCreateVersionTool(userId: string, metadataSchema?: TSchema
|
||||
|
||||
return {
|
||||
content: [{ type: 'text', text: JSON.stringify(result, null, 2) }],
|
||||
details: result,
|
||||
details: {},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user