Skip to content

AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He

fix(image_search): keep the caller's provider pin when a batch row needs selection

hugohe31b57b01ed2ee
diff --git a/skills/ppt-master/scripts/image_search.py b/skills/ppt-master/scripts/image_search.py
index c7cb1d03..3a66ca42 100644
--- a/skills/ppt-master/scripts/image_search.py
+++ b/skills/ppt-master/scripts/image_search.py
@@ -2301,11 +2301,16 @@ def run_search_manifest(
elif selection_required:
item["status"] = SEARCH_STATUS_NEEDS_SELECTION
_clear_candidate_selection_outputs(item)
+ # The row's own `provider` is the caller's pin; the
+ # next candidate page must search the same provider.
+ pinned_provider = item.get("provider")
if manifest_item is not None:
item.update(manifest_item)
item.pop("last_error", None)
item.pop("provider", None)
item.pop("license_tier", None)
+ if pinned_provider:
+ item["provider"] = pinned_provider
needs_selection_count += 1
print(f" [REVIEW] {item['filename']} — {error}")
elif retryable: