Skip to content

Commit 6e1afd7

Browse files
author
Eero
committed
fix(daemon): remove invalid string argument from fetchImageGenerationWithResponseRetry call
The second argument to fetchImageGenerationWithResponseRetry() is an optional onSettled callback, not a provider label string. Passing 'comfyui' caused TypeScript errors across all test suites. This matches the pattern used by other providers (custom-image, nanobanana) which omit the second argument entirely.
1 parent d8708a2 commit 6e1afd7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

apps/daemon/src/media/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,6 @@ async function renderComfyUIImage(ctx: MediaContext, credentials: ProviderConfig
13151315
headers,
13161316
body: JSON.stringify(body),
13171317
})),
1318-
'comfyui',
13191318
);
13201319

13211320
const data = await parseOpenAICompatibleJson(resp, 'comfyui');

0 commit comments

Comments
 (0)