mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
Skills/nano-banana-pro: clarify MEDIA token comment (#38063)
This commit is contained in:
@@ -219,8 +219,8 @@ def main():
|
|||||||
if image_saved:
|
if image_saved:
|
||||||
full_path = output_path.resolve()
|
full_path = output_path.resolve()
|
||||||
print(f"\nImage saved: {full_path}")
|
print(f"\nImage saved: {full_path}")
|
||||||
# OpenClaw parses MEDIA: tokens (line-start, no space after colon)
|
# OpenClaw parses MEDIA: tokens and will attach the file on
|
||||||
# and will attach the file on supported chat providers.
|
# supported chat providers. Emit the canonical MEDIA:<path> form.
|
||||||
print(f"MEDIA:{full_path}")
|
print(f"MEDIA:{full_path}")
|
||||||
else:
|
else:
|
||||||
print("Error: No image was generated in the response.", file=sys.stderr)
|
print("Error: No image was generated in the response.", file=sys.stderr)
|
||||||
|
|||||||
Reference in New Issue
Block a user