Skip to content

Commit ea967cf

Browse files
committed
style: wrap long description literals to satisfy biome
Formatting only — regenerating both artifacts produces a byte-identical tree, so no description text changed.
1 parent 80c8bd4 commit ea967cf

4 files changed

Lines changed: 21 additions & 9 deletions

File tree

apps/sim/blocks/blocks/pulse.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,11 @@ export const PulseBlock: BlockConfig<PulseParserOutput> = {
141141
bounding_boxes: { type: 'json', description: 'Bounding box layout information' },
142142
extraction_url: { type: 'string', description: 'URL for extraction results (large documents)' },
143143
html: { type: 'string', description: 'HTML content if requested' },
144-
structured_output: { type: 'json', description: 'Structured output; Sim exposes no input for supplying a schema, so this is always null' },
144+
structured_output: {
145+
type: 'json',
146+
description:
147+
'Structured output; Sim exposes no input for supplying a schema, so this is always null',
148+
},
145149
chunks: { type: 'json', description: 'Chunked content if chunking was enabled' },
146150
figures: { type: 'json', description: 'Extracted figures if figure extraction was enabled' },
147151
},

apps/sim/tools/mistral/parser.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,8 @@ export const mistralParserV2Tool: InternalToolConfig<MistralParserInput, Mistral
466466
},
467467
image_base64: {
468468
type: 'string',
469-
description: 'Base64-encoded image data; returned only when the hidden includeImageBase64 input is enabled',
469+
description:
470+
'Base64-encoded image data; returned only when the hidden includeImageBase64 input is enabled',
470471
optional: true,
471472
},
472473
},
@@ -497,12 +498,14 @@ export const mistralParserV2Tool: InternalToolConfig<MistralParserInput, Mistral
497498
},
498499
header: {
499500
type: 'string',
500-
description: 'Page header content. Sim sends no header-extraction option, so this is not returned',
501+
description:
502+
'Page header content. Sim sends no header-extraction option, so this is not returned',
501503
optional: true,
502504
},
503505
footer: {
504506
type: 'string',
505-
description: 'Page footer content. Sim sends no footer-extraction option, so this is not returned',
507+
description:
508+
'Page footer content. Sim sends no footer-extraction option, so this is not returned',
506509
optional: true,
507510
},
508511
},

apps/sim/tools/mistral/types.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ export const MISTRAL_OCR_IMAGE_OUTPUT_PROPERTIES = {
1818
bottom_right_y: { type: 'number', description: 'Bottom-right Y coordinate in pixels' },
1919
image_base64: {
2020
type: 'string',
21-
description: 'Base64-encoded image data; returned only when the hidden includeImageBase64 input is enabled',
21+
description:
22+
'Base64-encoded image data; returned only when the hidden includeImageBase64 input is enabled',
2223
optional: true,
2324
},
2425
} as const satisfies Record<string, OutputProperty>
@@ -58,7 +59,8 @@ export const MISTRAL_OCR_PAGE_OUTPUT_PROPERTIES = {
5859
dimensions: MISTRAL_OCR_DIMENSIONS_OUTPUT,
5960
tables: {
6061
type: 'array',
61-
description: 'Extracted tables as HTML/markdown, referenced via placeholders like [tbl-0.html]. Sim sends no table-extraction option, so this is empty',
62+
description:
63+
'Extracted tables as HTML/markdown, referenced via placeholders like [tbl-0.html]. Sim sends no table-extraction option, so this is empty',
6264
},
6365
hyperlinks: {
6466
type: 'array',
@@ -67,12 +69,14 @@ export const MISTRAL_OCR_PAGE_OUTPUT_PROPERTIES = {
6769
},
6870
header: {
6971
type: 'string',
70-
description: 'Page header content. Sim sends no header-extraction option, so this is not returned',
72+
description:
73+
'Page header content. Sim sends no header-extraction option, so this is not returned',
7174
optional: true,
7275
},
7376
footer: {
7477
type: 'string',
75-
description: 'Page footer content. Sim sends no footer-extraction option, so this is not returned',
78+
description:
79+
'Page footer content. Sim sends no footer-extraction option, so this is not returned',
7680
optional: true,
7781
},
7882
} as const satisfies Record<string, OutputProperty>

apps/sim/tools/pulse/parser.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,8 @@ export const pulseParserTool: InternalToolConfig<PulseParserInput, PulseParserOu
229229
},
230230
structured_output: {
231231
type: 'json',
232-
description: 'Structured output; Sim exposes no input for supplying a schema, so this is always null',
232+
description:
233+
'Structured output; Sim exposes no input for supplying a schema, so this is always null',
233234
optional: true,
234235
},
235236
chunks: {

0 commit comments

Comments
 (0)