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

calesthio6b722ab56ecc
diff --cc tools/graphics/image_selector.py
index e7c51a8c,3bab0bd8..af8d199c
--- a/tools/graphics/image_selector.py
+++ b/tools/graphics/image_selector.py
@@@ -242,17 -242,14 +242,25 @@@ 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
+ # The selector exposes a provider-neutral ``model_name`` field,
+ # while several providers call the same input ``model``.
+ if (
+ "model_name" in adapted
+ and "model" in props
+ and "model" not in adapted
+ ):
+ adapted["model"] = adapted["model_name"]
if "n" in adapted and "num_images" in props and "num_images" not in adapted:
adapted["num_images"] = adapted["n"]