Skip to content

Bug: tool output (exec, memory_search) renders as images instead of plain text in Discord chats #110

Description

@brandongraves08

Description

When Honcho (plastic-labs/openclaw-honcho) is the active memory provider, all exec and memory_search tool output renders as image attachments in the conversation transcript instead of plain text. This affects both the model-side rendering and the Discord chat display.

Impact

Makes shell commands, search results, and CLI tools unusable for text-based workflows. The model can still read the content (JSON/metadata is returned correctly) but the rendered chat display shows an image attachment instead of text, making it impossible to copy/paste results or read them from the UI.

Reproduction Steps

  1. Run OpenClaw with plastic-labs/honcho as the active memory provider
  2. Execute exec() with a shell command (e.g., ls -la, echo test, python3 script.py)
  3. Output returns as an image attachment instead of text
  4. Also reproducible with memory_search() and read tools (intermittently for read)

Affected Tools

  • exec() - shell command output always renders as image
  • memory_search() - search result JSON renders as image
  • gh CLI output via exec renders as image
  • read tool - renders as image intermittently, especially for large content
  • session_status - also renders as image

Not Affected

  • write, edit, message tools - unaffected (likely because these produce confirmation metadata, not raw output)

Expected Behavior

Plain text rendering in the conversation transcript - the same way it works when Honcho is not the active memory provider.

Additional Context

  • JSON data is returned correctly to the model's context - this is purely a rendering/presentation layer issue
  • Does not affect other memory providers (e.g., built-in memory)
  • First observed 2026-07-05 around 19:30 UTC
  • The issue worsened over the session: small outputs (single word) rendered fine at first, then eventually even echo test returned as an image

Environment

  • OpenClaw runtime (latest from git)
  • Honcho memory provider (plastic-labs/openclaw-honcho)
  • Discord chat surface

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions