mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-27 03:14:11 +00:00
refactor(agent): prevent creating autofill and embedding tasks for audio assets
This commit is contained in:
@@ -300,7 +300,9 @@ describe('Agent Autofill Workflow', () => {
|
||||
},
|
||||
})
|
||||
|
||||
await expect(agentAutofillMedia(task)).rejects.toThrow('unsupported media type for autofill: audio/mp3')
|
||||
await expect(agentAutofillMedia(task)).rejects.toThrow(
|
||||
'unsupported media type for autofill: audio/mp3',
|
||||
)
|
||||
|
||||
// Verify task failed status
|
||||
expect(mockActivities.updateTaskStatusActivity).toHaveBeenCalledWith({
|
||||
|
||||
Reference in New Issue
Block a user