Skip to content

Commit f824bd4

Browse files
committed
fix canonical merge
1 parent 1d45057 commit f824bd4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

apps/sim/blocks/blocks/a2a.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,14 @@ export const A2ABlock: BlockConfig<A2AResponse> = {
214214
],
215215
config: {
216216
tool: (params) => params.operation as string,
217+
params: (params) => {
218+
const { fileUpload, fileReference, ...rest } = params
219+
const files = fileUpload || fileReference
220+
return {
221+
...rest,
222+
...(files ? { files } : {}),
223+
}
224+
},
217225
},
218226
},
219227
inputs: {

0 commit comments

Comments
 (0)