image generation updates

This commit is contained in:
sriram
2026-09-11 15:43:48 +05:30
parent a24113f1e4
commit 7f601cc919

View File

@@ -351,7 +351,7 @@ export const api = {
previewCatalogBatch: (files) =>
uploadMany('/api/admin/catalog-batch/preview', files),
ingestCatalogBatch: (files, { use_llm = false, fetch_images = false } = {}) =>
ingestCatalogBatch: (files, { use_llm = true, fetch_images = false } = {}) =>
uploadMany(`/api/admin/catalog-batch/ingest${qs({ use_llm, fetch_images })}`, files),
getCatalogBatch: (batchId) =>
@@ -414,7 +414,7 @@ export const api = {
// app/api/routers/batch_catalog.py.
startBatchFromInbox: (
fileIds,
{ use_llm = false, fetch_images = false, runner = 'inprocess' } = {},
{ use_llm = true, fetch_images = false, runner = 'inprocess' } = {},
) =>
request('/api/admin/catalog-batch/from-inbox', {
method: 'POST',