Skip to content
This repository was archived by the owner on Jul 7, 2026. It is now read-only.

Add method to describe origin of forwarded messages in MentionHandler - #58

Merged
magicxor merged 13 commits into
stagingfrom
feature/add-forward-info
Jun 5, 2026
Merged

Add method to describe origin of forwarded messages in MentionHandler#58
magicxor merged 13 commits into
stagingfrom
feature/add-forward-info

Conversation

@magicxor

@magicxor magicxor commented Jun 5, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings June 5, 2026 19:42
@magicxor magicxor self-assigned this Jun 5, 2026
@magicxor magicxor added the enhancement New feature or request label Jun 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds forward-origin context to the mention/reply prompt construction so the LLM can see where a replied-to forwarded message originally came from.

Changes:

  • Added DescribeForwardOrigin(MessageOrigin?) and DescribeUser(User) helpers to produce human-readable forward-source strings.
  • Updated reply prompt/log formatting to include “(forwarded from …)” when the replied-to message has a forward origin.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Pacos/Services/ChatCommandHandlers/MentionHandler.cs
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 5, 2026 19:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@magicxor
magicxor merged commit fbef090 into staging Jun 5, 2026
3 checks passed
@magicxor
magicxor deleted the feature/add-forward-info branch June 5, 2026 19:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants