Skip to content

fix(matrix): fetch thread root content for agent context - #132105

Draft
adrianma00 wants to merge 1 commit into
NousResearch:mainfrom
adrianma00:pr/thread-root-context
Draft

adrianma00 wants to merge 1 commit into
NousResearch:mainfrom
adrianma00:pr/thread-root-context

Conversation

@adrianma00

Copy link
Copy Markdown

When a Matrix thread message arrives, the bot previously had no way to see the thread root. Add _fetch_thread_root_content() that calls client.get_event() to fetch the root message body and injects it as channel_context on the MessageEvent.

@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/gateway Gateway runner, session dispatch, delivery comp/plugins Plugin system and bundled plugins platform/matrix Matrix adapter (E2EE) sweeper:risk-message-delivery Sweeper risk: may drop, duplicate, misroute, or suppress messages labels Oct 3, 2026

This branch has not been deployed

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

Labels

comp/gateway Gateway runner, session dispatch, delivery comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have platform/matrix Matrix adapter (E2EE) sweeper:risk-message-delivery Sweeper risk: may drop, duplicate, misroute, or suppress messages type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants