Skip to content

Discord referenced-message context drops embeds #64

Description

@axsuul

When a Discord workflow replies to a message whose useful content is stored in embeds, ${{ paseo.context }} includes the referenced message but drops the embeds.

A generic reproduction:

  1. A bot or integration posts a Discord message with empty plain-text content and an embed containing a title, URL, description, or fields.
  2. A user replies to that message and mentions Paseo.
  3. The workflow includes ${{ paseo.context }} in its prompt.

The referenced message reaches the agent with empty content and no embed data, so the agent cannot understand what the user replied to.

Expected: referenced-message context includes normalized embed data such as title, description, URL, and fields.

Actual: normalizeContextMessage() copies content, author, attachments, and message references but does not copy message.embeds. This is unchanged in Hub v0.6.0 and current main.

Thread context uses the same normalization path, so embed-only messages lose their useful content there as well.

Related: #42 added direct referenced-message hydration.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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