Skip to content

The agent isn't able to embed a media in its message #27

Description

@X-Ryl669

I don't know if it's a configuration, a PBKAC or a model issue, but the agent isn't able to embed an image or a file in a simpleX conversation (it did it once, but I don't know how it succeeded, never was able to redo).

Also, if I send a media to the agent, it doesn't see it in the chat.

Here's the openclaw configuration I have for this plugin:

  "channels": {
    "openclaw-simplex": {
      "enabled": true,
      "actions": {
        "reactions": true,
        "polls": true
      },
      "reactionLevel": "minimal",
      "mediaMaxMb": 5,
      "filePolicy": {
        "autoAccept": true,
        "maxSizeMb": 5
      },
      "streaming": {
        "nativeTransport": false,
        "throttleMs": 2000,
        "minChars": 24,
        "wordBoundary": true
      },
      "dmPolicy": "pairing",
      "connection": {
        "mode": "external",
        "wsHost": "127.0.0.1",
        "wsPort": 5225
      }
    }
  },

And here's the doctor's answer that I find strange:

{
  "accountId": "default",
  "enabled": true,
  "configured": true,
  "mode": "external",
  "wsUrl": "ws://127.0.0.1:5225",
  "runtimeVersion": null,
  "runtime": {
    "activeClient": false,
    "connected": true,
    "lastStateAt": null,
    "expectedDisconnect": null,
    "lastError": null
  },
  "activeUser": {
    "userId": 1,
    "agentUserId": "1",
    "userContactId": 1,
    "localDisplayName": "edited",
    "profile": {
      "profileId": 1,
      "displayName": "edited",
      "fullName": "edited",
      "image": "data:image/png;base64,edited",
      "localAlias": ""
    },
    "fullPreferences": {
      "timedMessages": {
        "allow": "yes"
      },
      "fullDelete": {
        "allow": "no"
      },
      "reactions": {
        "allow": "yes"
      },
      "voice": {
        "allow": "yes"
      },
      "files": {
        "allow": "always"
      },
      "calls": {
        "allow": "yes"
      },
      "sessions": {
        "allow": "no"
      },
      "commands": []
    },
    "activeUser": true,
    "activeOrder": 1,
    "showNtfs": true,
    "sendRcptsContacts": true,
    "sendRcptsSmallGroups": true,
    "autoAcceptMemberContacts": false,
    "userMemberProfileUpdatedAt": "2026-06-21T16:59:08.962533411Z",
    "userChatRelay": false
  },
  "address": null,
  "counts": {
    "contacts": 2,
    "groups": 0,
    "users": 1
  },
  "capabilities": {
    "runtimeVersion": null,
    "version": {
      "state": "unknown",
      "runtimeVersion": null,
      "command": "/version",
      "detail": "Runtime accepted /version but did not expose a version field.",
      "value": null
    },
    "activeUser": {
      "state": "supported",
      "runtimeVersion": null,
      "command": "/user",
      "value": {
        "userId": 1,
        "agentUserId": "1",
        "userContactId": 1,
        "localDisplayName": "edited",
        "profile": {
          "profileId": 1,
          "displayName": "edited",
          "fullName": "edited",
          "image": "data:image/png;base64,edited",
          "localAlias": ""
        },
        "fullPreferences": {
          "timedMessages": {
            "allow": "yes"
          },
          "fullDelete": {
            "allow": "no"
          },
          "reactions": {
            "allow": "yes"
          },
          "voice": {
            "allow": "yes"
          },
          "files": {
            "allow": "always"
          },
          "calls": {
            "allow": "yes"
          },
          "sessions": {
            "allow": "no"
          },
          "commands": []
        },
        "activeUser": true,
        "activeOrder": 1,
        "showNtfs": true,
        "sendRcptsContacts": true,
        "sendRcptsSmallGroups": true,
        "autoAcceptMemberContacts": false,
        "userMemberProfileUpdatedAt": "2026-06-21T16:59:08.962533411Z",
        "userChatRelay": false
      }
    },
    "users": {
      "state": "supported",
      "runtimeVersion": null,
      "command": "/users",
      "count": 1
    },
    "contacts": {
      "state": "supported",
      "runtimeVersion": null,
      "command": "/_contacts 1",
      "count": 2
    },
    "groups": {
      "state": "supported",
      "runtimeVersion": null,
      "command": "/_groups 1",
      "detail": "Advisory SimpleX group directory probe. Some runtimes can deliver group events or resolve known group links even when /_groups returns an empty list.",
      "count": 0
    },
    "liveMessages": {
      "state": "unknown",
      "runtimeVersion": null,
      "detail": "Live replies are disabled in account config."
    },
    "ttl": {
      "state": "unknown",
      "runtimeVersion": null,
      "detail": "Message TTL is disabled in account config."
    },
    "verification": {
      "state": "unknown",
      "runtimeVersion": null,
      "detail": "Verification support requires a real contact target, so the advisory probe did not run it."
    },
    "moderation": {
      "state": "unknown",
      "runtimeVersion": null,
      "detail": "Moderation support requires a real group/member target, so the advisory probe did not run it."
    },
    "files": {
      "state": "unknown",
      "runtimeVersion": null,
      "detail": "File receive/cancel support requires a real file id, so the advisory probe did not run it."
    },
    "experimentalChannels": {
      "state": "unknown",
      "runtimeVersion": null,
      "detail": "Experimental channel-like targets are disabled in account config."
    }
  },
  "security": {
    "transportWarnings": [],
    "transportBlocked": false
  },
  "filePolicy": {
    "autoAccept": true,
    "maxSizeMb": 5,
    "mediaMaxMb": 5
  },
  "ok": true,
  "issues": []
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions