Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
fix(webv2): route reference-list uploads to the selected board; re-record baselines post-merge
Lincoln Steinf93e9916f542
diff --git a/invokeai/frontend/webv2/performance/architecture-baseline.json b/invokeai/frontend/webv2/performance/architecture-baseline.jsonindex 28e86a7384..40a8925d6d 100644--- a/invokeai/frontend/webv2/performance/architecture-baseline.json+++ b/invokeai/frontend/webv2/performance/architecture-baseline.json@@ -2,10 +2,10 @@"build": {"launchpad": {"baseline": {- "brotliBytes": 837716,+ "brotliBytes": 837710,"cssRawBytes": 2159,"fontRawBytes": 219480,- "gzipBytes": 836624,+ "gzipBytes": 836621,"imageRawBytes": 156376,"initialRawBytes": 1948152,"largestAssetRawBytes": 746355,@@ -287,10 +287,10 @@]},"limits": {- "brotliBytes": 846094,+ "brotliBytes": 846088,"cssRawBytes": 2181,"fontRawBytes": 221675,- "gzipBytes": 844991,+ "gzipBytes": 844988,"imageRawBytes": 157940,"initialRawBytes": 1967634,"largestAssetRawBytes": 753819,@@ -305,15 +305,15 @@},"editor": {"baseline": {- "brotliBytes": 1057991,+ "brotliBytes": 1059498,"cssRawBytes": 2159,"fontRawBytes": 219480,- "gzipBytes": 1053293,+ "gzipBytes": 1054746,"imageRawBytes": 156376,- "initialRawBytes": 2603620,+ "initialRawBytes": 2608866,"largestAssetRawBytes": 746355,"otherAssetRawBytes": 0,- "ownedRawBytes": 113925,+ "ownedRawBytes": 114259,"requestCount": 96,"scriptRequestCount": 80,"sourceOwners": [@@ -866,15 +866,15 @@]},"limits": {- "brotliBytes": 1068571,+ "brotliBytes": 1070093,"cssRawBytes": 2181,"fontRawBytes": 221675,- "gzipBytes": 1063826,+ "gzipBytes": 1065294,"imageRawBytes": 157940,- "initialRawBytes": 2629657,+ "initialRawBytes": 2634955,"largestAssetRawBytes": 753819,"otherAssetRawBytes": 0,- "ownedRawBytes": 113925,+ "ownedRawBytes": 114259,"requestCount": 96,"scriptRequestCount": 80},@@ -883,7 +883,7 @@"source": "src/app/WorkbenchApp.tsx"}},- "capturedAt": "2026-08-30",+ "capturedAt": "2026-09-01","developmentInvalidation": {"platformUiBarrel": {"specifier": "@platform/ui",diff --git a/invokeai/frontend/webv2/performance/browser-baseline.json b/invokeai/frontend/webv2/performance/browser-baseline.jsonindex c67d329e3b..4058bdfcab 100644--- a/invokeai/frontend/webv2/performance/browser-baseline.json+++ b/invokeai/frontend/webv2/performance/browser-baseline.json@@ -1,6 +1,6 @@{"browserExecutable": "/home/lstein/.cache/ms-playwright/chromium-1234/chrome-linux64/chrome",- "capturedAt": "2026-08-30",+ "capturedAt": "2026-09-01","routes": [{"activatedResourceBaseline": {@@ -25,13 +25,13 @@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 90.39999999850988,+ "domContentLoadedMedianMs": 151.89999961853027,"id": "launchpad","layoutAckMedianMs": 0,"layoutReturnSwitchMedianMs": 0,"layoutSwitchMedianMs": 0,- "loadMedianMs": 90.5,- "longestTaskMaxMs": 56,+ "loadMedianMs": 152.10000038146973,+ "longestTaskMaxMs": 72,"owner": "app","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:launchpad",@@ -41,24 +41,24 @@"fontRawBytes": 23664,"imageRawBytes": 0,"largestAssetRawBytes": 746355,- "otherRawBytes": 152645,+ "otherRawBytes": 153773,"requestCount": 37,- "scriptRawBytes": 1625511,+ "scriptRawBytes": 1626167,"scriptRequestCount": 33,- "totalRawBytes": 1803979+ "totalRawBytes": 1805763},"resourceLimits": {"cssRawBytes": 2181,"fontRawBytes": 23901,"imageRawBytes": 0,"largestAssetRawBytes": 753819,- "otherRawBytes": 154172,+ "otherRawBytes": 155311,"requestCount": 37,- "scriptRawBytes": 1641767,+ "scriptRawBytes": 1642429,"scriptRequestCount": 33,- "totalRawBytes": 1822019+ "totalRawBytes": 1823821},- "routeReadyMedianMs": 209.60000000149012,+ "routeReadyMedianMs": 315.5,"scriptSourceOwnerSet": "launchpad-static","stateProfile": "empty"},@@ -85,13 +85,13 @@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 94.09999999776483,+ "domContentLoadedMedianMs": 146.39999961853027,"id": "launchpad","layoutAckMedianMs": 0,"layoutReturnSwitchMedianMs": 0,"layoutSwitchMedianMs": 0,- "loadMedianMs": 94.09999999776483,- "longestTaskMaxMs": 56,+ "loadMedianMs": 146.5,+ "longestTaskMaxMs": 75,"owner": "app","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:launchpad",@@ -101,24 +101,24 @@"fontRawBytes": 23664,"imageRawBytes": 0,"largestAssetRawBytes": 746355,- "otherRawBytes": 152645,+ "otherRawBytes": 153773,"requestCount": 37,- "scriptRawBytes": 1625511,+ "scriptRawBytes": 1626167,"scriptRequestCount": 33,- "totalRawBytes": 1803979+ "totalRawBytes": 1805763},"resourceLimits": {"cssRawBytes": 2181,"fontRawBytes": 23901,"imageRawBytes": 0,"largestAssetRawBytes": 753819,- "otherRawBytes": 154172,+ "otherRawBytes": 155311,"requestCount": 37,- "scriptRawBytes": 1641767,+ "scriptRawBytes": 1642429,"scriptRequestCount": 33,- "totalRawBytes": 1822019+ "totalRawBytes": 1823821},- "routeReadyMedianMs": 223.19999999925494,+ "routeReadyMedianMs": 341.1000003814697,"scriptSourceOwnerSet": "launchpad-static","stateProfile": "representative"},@@ -145,15 +145,15 @@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 93.10000000149012,+ "domContentLoadedMedianMs": 159.69999980926514,"id": "editor-minimal","layoutAckMedianMs": 0,"layoutReturnSwitchMedianMs": 0,"layoutSwitchMedianMs": 0,- "loadMedianMs": 93.30000000074506,- "longestTaskMaxMs": 79,+ "loadMedianMs": 159.79999923706055,+ "longestTaskMaxMs": 109,"owner": "workbench",- "projectSwitchMedianMs": 27.600000001490116,+ "projectSwitchMedianMs": 45.80000019073486,"readyMark": "invokeai:ready:widget:center:preview","remediationTicket": "deepen-widget-registry-loading","resourceBaseline": {@@ -161,24 +161,24 @@"fontRawBytes": 23664,"imageRawBytes": 156376,"largestAssetRawBytes": 746355,- "otherRawBytes": 152645,+ "otherRawBytes": 153773,"requestCount": 115,- "scriptRawBytes": 3207341,+ "scriptRawBytes": 3213307,"scriptRequestCount": 110,- "totalRawBytes": 3542185+ "totalRawBytes": 3549279},"resourceLimits": {"cssRawBytes": 2181,"fontRawBytes": 23901,"imageRawBytes": 157940,"largestAssetRawBytes": 753819,- "otherRawBytes": 154172,+ "otherRawBytes": 155311,"requestCount": 115,- "scriptRawBytes": 3239415,+ "scriptRawBytes": 3245441,"scriptRequestCount": 110,- "totalRawBytes": 3577607+ "totalRawBytes": 3584772},- "routeReadyMedianMs": 590.6000000014901,+ "routeReadyMedianMs": 734.5,"scriptSourceOwnerSet": "editor-minimal-static","stateProfile": "empty"},@@ -205,15 +205,15 @@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 91.69999999925494,+ "domContentLoadedMedianMs": 155.19999980926514,"id": "editor-minimal","layoutAckMedianMs": 0,"layoutReturnSwitchMedianMs": 0,"layoutSwitchMedianMs": 0,- "loadMedianMs": 91.69999999925494,- "longestTaskMaxMs": 156,+ "loadMedianMs": 155.30000019073486,+ "longestTaskMaxMs": 203,"owner": "workbench",- "projectSwitchMedianMs": 46.30000000074506,+ "projectSwitchMedianMs": 79.19999980926514,"readyMark": "invokeai:ready:widget:center:preview","remediationTicket": "deepen-widget-registry-loading","resourceBaseline": {@@ -221,24 +221,24 @@"fontRawBytes": 23664,"imageRawBytes": 156376,"largestAssetRawBytes": 746355,- "otherRawBytes": 152645,+ "otherRawBytes": 153773,"requestCount": 115,- "scriptRawBytes": 3207341,+ "scriptRawBytes": 3213307,"scriptRequestCount": 110,- "totalRawBytes": 3542185+ "totalRawBytes": 3549279},"resourceLimits": {"cssRawBytes": 2181,"fontRawBytes": 23901,"imageRawBytes": 157940,"largestAssetRawBytes": 753819,- "otherRawBytes": 154172,+ "otherRawBytes": 155311,"requestCount": 115,- "scriptRawBytes": 3239415,+ "scriptRawBytes": 3245441,"scriptRequestCount": 110,- "totalRawBytes": 3577607+ "totalRawBytes": 3584772},- "routeReadyMedianMs": 351.5,+ "routeReadyMedianMs": 499.69999980926514,"scriptSourceOwnerSet": "editor-minimal-static","stateProfile": "representative"},@@ -265,13 +265,13 @@"scriptRequestCount": 7,"totalRawBytes": 319168},- "domContentLoadedMedianMs": 91.59999999776483,+ "domContentLoadedMedianMs": 147.30000019073486,"id": "editor-canvas",- "layoutAckMedianMs": 2.100000001490116,- "layoutReturnSwitchMedianMs": 34.69999999925494,- "layoutSwitchMedianMs": 66.30000000074506,- "loadMedianMs": 91.59999999776483,- "longestTaskMaxMs": 81,+ "layoutAckMedianMs": 9.800000190734863,+ "layoutReturnSwitchMedianMs": 36.69999980926514,+ "layoutSwitchMedianMs": 88.40000057220459,+ "loadMedianMs": 147.39999961853027,+ "longestTaskMaxMs": 107,"owner": "canvas","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:widget:center:canvas",@@ -281,24 +281,24 @@"fontRawBytes": 23664,"imageRawBytes": 156376,"largestAssetRawBytes": 746355,- "otherRawBytes": 152645,+ "otherRawBytes": 153773,"requestCount": 122,- "scriptRawBytes": 3523348,+ "scriptRawBytes": 3529314,"scriptRequestCount": 117,- "totalRawBytes": 3858192+ "totalRawBytes": 3865286},"resourceLimits": {"cssRawBytes": 2181,"fontRawBytes": 23901,"imageRawBytes": 157940,"largestAssetRawBytes": 753819,- "otherRawBytes": 154172,+ "otherRawBytes": 155311,"requestCount": 122,- "scriptRawBytes": 3558582,+ "scriptRawBytes": 3564608,"scriptRequestCount": 117,- "totalRawBytes": 3896774+ "totalRawBytes": 3903939},- "routeReadyMedianMs": 938.0999999977648,+ "routeReadyMedianMs": 1165.9000005722046,"scriptSourceOwnerSet": "editor-canvas-static","stateProfile": "empty"},@@ -325,13 +325,13 @@"scriptRequestCount": 7,"totalRawBytes": 319168},- "domContentLoadedMedianMs": 93.59999999776483,+ "domContentLoadedMedianMs": 139.10000038146973,"id": "editor-canvas",- "layoutAckMedianMs": 2.5,- "layoutReturnSwitchMedianMs": 35,- "layoutSwitchMedianMs": 149.59999999776483,- "loadMedianMs": 93.69999999925494,- "longestTaskMaxMs": 275,+ "layoutAckMedianMs": 5.5,+ "layoutReturnSwitchMedianMs": 39.29999923706055,+ "layoutSwitchMedianMs": 201,+ "loadMedianMs": 139.30000019073486,+ "longestTaskMaxMs": 387,"owner": "canvas","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:widget:center:canvas",@@ -341,24 +341,24 @@"fontRawBytes": 23664,"imageRawBytes": 156376,"largestAssetRawBytes": 746355,- "otherRawBytes": 152645,+ "otherRawBytes": 153773,"requestCount": 122,- "scriptRawBytes": 3523348,+ "scriptRawBytes": 3529314,"scriptRequestCount": 117,- "totalRawBytes": 3858192+ "totalRawBytes": 3865286},"resourceLimits": {"cssRawBytes": 2181,"fontRawBytes": 23901,"imageRawBytes": 157940,"largestAssetRawBytes": 753819,- "otherRawBytes": 154172,+ "otherRawBytes": 155311,"requestCount": 122,- "scriptRawBytes": 3558582,+ "scriptRawBytes": 3564608,"scriptRequestCount": 117,- "totalRawBytes": 3896774+ "totalRawBytes": 3903939},- "routeReadyMedianMs": 1081.8999999985099,+ "routeReadyMedianMs": 1320.5,"scriptSourceOwnerSet": "editor-canvas-static","stateProfile": "representative"},@@ -370,9 +370,9 @@"largestAssetRawBytes": 173980,"otherRawBytes": 0,"requestCount": 7,- "scriptRawBytes": 364191,+ "scriptRawBytes": 364199,"scriptRequestCount": 6,- "totalRawBytes": 379604+ "totalRawBytes": 379612},"activatedResourceLimits": {"cssRawBytes": 15568,@@ -381,17 +381,17 @@"largestAssetRawBytes": 175720,"otherRawBytes": 0,"requestCount": 7,- "scriptRawBytes": 367833,+ "scriptRawBytes": 367841,"scriptRequestCount": 6,- "totalRawBytes": 383401+ "totalRawBytes": 383409},- "domContentLoadedMedianMs": 89.10000000149012,+ "domContentLoadedMedianMs": 137.70000076293945,"id": "editor-workflow",- "layoutAckMedianMs": 2,- "layoutReturnSwitchMedianMs": 30.599999997764826,- "layoutSwitchMedianMs": 78.10000000149012,- "loadMedianMs": 89.19999999925494,- "longestTaskMaxMs": 77,+ "layoutAckMedianMs": 11.5,+ "layoutReturnSwitchMedianMs": 34,+ "layoutSwitchMedianMs": 103.5,+ "loadMedianMs": 137.80000019073486,+ "longestTaskMaxMs": 104,"owner": "workflow","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:widget:center:workflow",@@ -401,24 +401,24 @@"fontRawBytes": 23664,"imageRawBytes": 156376,"largestAssetRawBytes": 746355,- "otherRawBytes": 152645,+ "otherRawBytes": 153773,"requestCount": 122,- "scriptRawBytes": 3571532,+ "scriptRawBytes": 3577506,"scriptRequestCount": 116,- "totalRawBytes": 3921789+ "totalRawBytes": 3928891},"resourceLimits": {"cssRawBytes": 17748,"fontRawBytes": 23901,"imageRawBytes": 157940,"largestAssetRawBytes": 753819,- "otherRawBytes": 154172,+ "otherRawBytes": 155311,"requestCount": 122,- "scriptRawBytes": 3607248,+ "scriptRawBytes": 3613282,"scriptRequestCount": 116,- "totalRawBytes": 3961007+ "totalRawBytes": 3968180},- "routeReadyMedianMs": 950.4000000022352,+ "routeReadyMedianMs": 1153,"scriptSourceOwnerSet": "editor-workflow-static","stateProfile": "empty"},@@ -430,9 +430,9 @@"largestAssetRawBytes": 173980,"otherRawBytes": 0,"requestCount": 7,- "scriptRawBytes": 364191,+ "scriptRawBytes": 364199,"scriptRequestCount": 6,- "totalRawBytes": 379604+ "totalRawBytes": 379612},"activatedResourceLimits": {"cssRawBytes": 15568,@@ -441,17 +441,17 @@"largestAssetRawBytes": 175720,"otherRawBytes": 0,"requestCount": 7,- "scriptRawBytes": 367833,+ "scriptRawBytes": 367841,"scriptRequestCount": 6,- "totalRawBytes": 383401+ "totalRawBytes": 383409},- "domContentLoadedMedianMs": 91.29999999701977,+ "domContentLoadedMedianMs": 135.80000019073486,"id": "editor-workflow",- "layoutAckMedianMs": 2.7000000029802322,- "layoutReturnSwitchMedianMs": 36.5,- "layoutSwitchMedianMs": 106.89999999850988,- "loadMedianMs": 91.39999999850988,- "longestTaskMaxMs": 259,+ "layoutAckMedianMs": 8,+ "layoutReturnSwitchMedianMs": 36,+ "layoutSwitchMedianMs": 144.80000019073486,+ "loadMedianMs": 135.89999961853027,+ "longestTaskMaxMs": 368,"owner": "workflow","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:widget:center:workflow",@@ -461,24 +461,24 @@"fontRawBytes": 23664,"imageRawBytes": 156376,"largestAssetRawBytes": 746355,- "otherRawBytes": 152645,+ "otherRawBytes": 153773,"requestCount": 122,- "scriptRawBytes": 3571532,+ "scriptRawBytes": 3577506,"scriptRequestCount": 116,- "totalRawBytes": 3921789+ "totalRawBytes": 3928891},"resourceLimits": {"cssRawBytes": 17748,"fontRawBytes": 23901,"imageRawBytes": 157940,"largestAssetRawBytes": 753819,- "otherRawBytes": 154172,+ "otherRawBytes": 155311,"requestCount": 122,- "scriptRawBytes": 3607248,+ "scriptRawBytes": 3613282,"scriptRequestCount": 116,- "totalRawBytes": 3961007+ "totalRawBytes": 3968180},- "routeReadyMedianMs": 1075.0999999977648,+ "routeReadyMedianMs": 1248.6000003814697,"scriptSourceOwnerSet": "editor-workflow-static","stateProfile": "representative"},@@ -505,13 +505,13 @@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 92.80000000074506,+ "domContentLoadedMedianMs": 165.30000019073486,"id": "editor-gallery","layoutAckMedianMs": 0,"layoutReturnSwitchMedianMs": 0,- "layoutSwitchMedianMs": 20.800000000745058,- "loadMedianMs": 93,- "longestTaskMaxMs": 79,+ "layoutSwitchMedianMs": 33.90000057220459,+ "loadMedianMs": 165.39999961853027,+ "longestTaskMaxMs": 110,"owner": "gallery","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:widget:center:gallery",@@ -521,24 +521,24 @@"fontRawBytes": 23664,"imageRawBytes": 156376,"largestAssetRawBytes": 746355,- "otherRawBytes": 152645,+ "otherRawBytes": 153773,"requestCount": 115,- "scriptRawBytes": 3207341,+ "scriptRawBytes": 3213307,"scriptRequestCount": 110,- "totalRawBytes": 3542185+ "totalRawBytes": 3549279},"resourceLimits": {"cssRawBytes": 2181,"fontRawBytes": 23901,"imageRawBytes": 157940,"largestAssetRawBytes": 753819,- "otherRawBytes": 154172,+ "otherRawBytes": 155311,"requestCount": 115,- "scriptRawBytes": 3239415,+ "scriptRawBytes": 3245441,"scriptRequestCount": 110,- "totalRawBytes": 3577607+ "totalRawBytes": 3584772},- "routeReadyMedianMs": 1154.6000000014901,+ "routeReadyMedianMs": 1425.1000003814697,"scriptSourceOwnerSet": "editor-minimal-static","stateProfile": "empty"},@@ -565,13 +565,13 @@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 92.10000000149012,+ "domContentLoadedMedianMs": 132.0999994277954,"id": "editor-gallery","layoutAckMedianMs": 0,"layoutReturnSwitchMedianMs": 0,- "layoutSwitchMedianMs": 66,- "loadMedianMs": 92.20000000298023,- "longestTaskMaxMs": 131,+ "layoutSwitchMedianMs": 97.39999961853027,+ "loadMedianMs": 132.19999980926514,+ "longestTaskMaxMs": 194,"owner": "gallery","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:widget:center:gallery",@@ -581,24 +581,24 @@"fontRawBytes": 23664,"imageRawBytes": 156376,"largestAssetRawBytes": 746355,- "otherRawBytes": 152645,+ "otherRawBytes": 153773,"requestCount": 115,- "scriptRawBytes": 3207341,+ "scriptRawBytes": 3213307,"scriptRequestCount": 110,- "totalRawBytes": 3542185+ "totalRawBytes": 3549279},"resourceLimits": {"cssRawBytes": 2181,"fontRawBytes": 23901,"imageRawBytes": 157940,"largestAssetRawBytes": 753819,- "otherRawBytes": 154172,+ "otherRawBytes": 155311,"requestCount": 115,- "scriptRawBytes": 3239415,+ "scriptRawBytes": 3245441,"scriptRequestCount": 110,- "totalRawBytes": 3577607+ "totalRawBytes": 3584772},- "routeReadyMedianMs": 1312,+ "routeReadyMedianMs": 1515.2999992370605,"scriptSourceOwnerSet": "editor-minimal-static","stateProfile": "representative"}diff --git a/invokeai/frontend/webv2/src/features/video/ui/VideoReferenceListField.tsx b/invokeai/frontend/webv2/src/features/video/ui/VideoReferenceListField.tsxindex e9df66c6f4..141ec713ff 100644--- a/invokeai/frontend/webv2/src/features/video/ui/VideoReferenceListField.tsx+++ b/invokeai/frontend/webv2/src/features/video/ui/VideoReferenceListField.tsx@@ -240,7 +240,7 @@ export const VideoReferenceListField = memo(function VideoReferenceListField({references: VideoReferenceItem[];}) {const { t } = useTranslation();- const { reportError, touchGalleryImages } = useVideoUiActions();+ const { getUploadBoardId, reportError, touchGalleryImages } = useVideoUiActions();const imageInputRef = useRef<HTMLInputElement | null>(null);const videoInputRef = useRef<HTMLInputElement | null>(null);const [isLoading, setIsLoading] = useState(false);@@ -419,12 +419,12 @@ export const VideoReferenceListField = memo(function VideoReferenceListField({try {if (kind === 'video') {- const uploaded = await galleryTransfers.uploadVideo(file, 'none', { signal: owner.signal });+ const uploaded = await galleryTransfers.uploadVideo(file, getUploadBoardId(), { signal: owner.signal });assertAccountScopeCurrent(owner);await addVideoReference(uploaded.name);} else {- const uploaded = await galleryTransfers.upload(file, 'none', { signal: owner.signal });+ const uploaded = await galleryTransfers.upload(file, getUploadBoardId(), { signal: owner.signal });assertAccountScopeCurrent(owner);await addImageReference(uploaded.imageName);@@ -442,7 +442,7 @@ export const VideoReferenceListField = memo(function VideoReferenceListField({setIsLoading(false);}},- [addImageReference, addVideoReference, reportError, touchGalleryImages]+ [addImageReference, addVideoReference, getUploadBoardId, reportError, touchGalleryImages]);const handleImageFileChange = useCallback(@@ -548,7 +548,9 @@ export const VideoReferenceListField = memo(function VideoReferenceListField({</Text>) : null}<Input accept={IMAGE_UPLOAD_ACCEPT} hidden ref={imageInputRef} type="file" onChange={handleImageFileChange} />- <Input accept="video/*" hidden ref={videoInputRef} type="file" onChange={handleVideoFileChange} />+ {/* Audio files upload too: the server wraps them into waveform videos, which is+ how audio-only reference clips enter the pipeline. */}+ <Input accept="video/*,audio/*" hidden ref={videoInputRef} type="file" onChange={handleVideoFileChange} /></Stack>);});