nano-banana: emit MEDIA token for generated images (#271)

This commit is contained in:
Iamadig
2026-01-05 21:19:50 -08:00
committed by GitHub
parent 7d1fee70e7
commit 29a89ff9fa
3 changed files with 4 additions and 0 deletions

View File

@@ -154,6 +154,8 @@ def main():
if image_saved:
full_path = output_path.resolve()
print(f"\nImage saved: {full_path}")
# Clawdbot parses MEDIA tokens and will attach the file on supported providers.
print(f"MEDIA: {full_path}")
else:
print("Error: No image was generated in the response.", file=sys.stderr)
sys.exit(1)