mirror of https://github.com/openclaw/openclaw.git
Skills/nano-banana-pro: clarify MEDIA token comment (#38063)
This commit is contained in:
parent
37a3fb0f86
commit
05c2cbf0e9
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue