File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -130,8 +130,6 @@ export const ExtendBlock: BlockConfig<ExtendParserOutput> = {
130130 } ,
131131}
132132
133- // ExtendV2Block renames the canonical id to `file` so it matches the tool param name
134- // and pre-execution validation can resolve the value without invoking the params mapper.
135133const extendV2Inputs = {
136134 file : { type : 'json' as const , description : 'Document (file upload or file reference)' } ,
137135 apiKey : ExtendBlock . inputs ?. apiKey ,
Original file line number Diff line number Diff line change @@ -74,7 +74,6 @@ export const PulseBlock: BlockConfig<PulseParserOutput> = {
7474 apiKey : params . apiKey . trim ( ) ,
7575 }
7676
77- // document is the canonical param from fileUpload (basic) or filePath (advanced)
7877 const documentInput = params . document
7978 if ( typeof documentInput === 'object' ) {
8079 parameters . file = documentInput
@@ -128,8 +127,6 @@ export const PulseBlock: BlockConfig<PulseParserOutput> = {
128127 } ,
129128}
130129
131- // PulseV2Block renames the canonical id to `file` so it matches the tool param name
132- // and pre-execution validation can resolve the value without invoking the params mapper.
133130const pulseV2Inputs = {
134131 file : { type : 'json' as const , description : 'Document (file upload or file reference)' } ,
135132 apiKey : PulseBlock . inputs ?. apiKey ,
Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ export const ReductoBlock: BlockConfig<ReductoParserOutput> = {
7171 apiKey : params . apiKey . trim ( ) ,
7272 }
7373
74- // document is the canonical param from fileUpload (basic) or filePath (advanced)
7574 const documentInput = params . document
7675
7776 if ( typeof documentInput === 'object' ) {
@@ -135,9 +134,6 @@ export const ReductoBlock: BlockConfig<ReductoParserOutput> = {
135134 } ,
136135}
137136
138- // ReductoV2Block drops V1's URL filePath input and exposes file upload + file reference
139- // as a single canonical group. The canonical id matches the tool param name (`file`) so
140- // pre-execution validation can resolve the value without invoking the params mapper.
141137const reductoV2Inputs = {
142138 file : { type : 'json' as const , description : 'PDF document (file upload or file reference)' } ,
143139 apiKey : ReductoBlock . inputs ?. apiKey ,
You can’t perform that action at this time.
0 commit comments