Skip to content

World's first open-source, agentic video production system. 12 production pipelines, 100+ tools, 700+ agent skill and production-knowledge files. Turn your AI coding assistant into a full video production studio.

Merge remote-tracking branch 'origin/main' into codex/repair-pr-458

calesthioa5c9d789bef6
diff --cc tools/graphics/image_selector.py
index 5f9a0e43,c3a3c716..e7c51a8c
--- a/tools/graphics/image_selector.py
+++ b/tools/graphics/image_selector.py
@@@ -242,17 -242,8 +242,19 @@@ class ImageSelector(BaseTool)
props = tool.input_schema.get("properties", {})
if "query" in props and "query" not in adapted:
adapted["query"] = adapted.get("prompt", "")
+ # Normalize the selector's shared reference-image inputs for
+ # providers whose native contract accepts an ``images`` array.
+ if "images" in props and "images" not in adapted:
+ refs = (
+ adapted.get("image_paths")
+ or adapted.get("image_urls")
+ or ([adapted["image_path"]] if adapted.get("image_path") else None)
+ or ([adapted["image_url"]] if adapted.get("image_url") else None)
+ )
+ if refs:
+ adapted["images"] = refs
+ if "n" in adapted and "num_images" in props and "num_images" not in adapted:
+ adapted["num_images"] = adapted["n"]
# Strip selector-only keys that downstream tools don't understand
adapted.pop("preferred_provider", None)