From 68108c895f6b31fdd2754d3498c3087f27279deb Mon Sep 17 00:00:00 2001 From: robert Date: Mon, 18 May 2026 19:19:42 -0300 Subject: [PATCH] document render artifact salvage --- agent_builder/builder.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/agent_builder/builder.py b/agent_builder/builder.py index 56e8dad..949a2d8 100644 --- a/agent_builder/builder.py +++ b/agent_builder/builder.py @@ -82,7 +82,9 @@ For render/media agents, subprocesses must be bounded with timeouts and broad exception handling, and failures must return structured JSON instead of crashing the worker. Use ``render: bool = False`` by default and expose every public skill argument with concrete type hints so the live ``input_schema`` -contains the full call surface. +contains the full call surface. If a render command returns nonzero after +emitting a usable file, persist or wrap that artifact and include the command +failure as a warning instead of dropping the result. For Manim presentation agents specifically, generate a stable PDF fallback that does not require Manim rendering. If HTML/video rendering is requested,