Skip to content

Add chat.messages.transform plugin hook - #4910

Closed
Tarquinen wants to merge 7 commits into
anomalyco:devfrom
Tarquinen:tarquinen/changes
Closed

Add chat.messages.transform plugin hook#4910
Tarquinen wants to merge 7 commits into
anomalyco:devfrom
Tarquinen:tarquinen/changes

Conversation

@Tarquinen

Copy link
Copy Markdown
Contributor

Summary

  • Adds a chat.messages.transform hook that allows plugins to modify the message array before it's sent to the AI provider
  • Enables plugins to prune, filter, or transform conversation history

@graelo

Copy link
Copy Markdown

Very cool, thanks!

@Tarquinen

Copy link
Copy Markdown
ContributorAuthor

Moving this PR to #5207

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@Tarquinen@graelo@actions-user@jorgenwh