Skip to content

Conversation

@Tarquinen
Copy link
Contributor

Add a system prompt transform hook to allow plugins to alter system messages.

Plugins receive a mutable string[] containing the system prompt parts and can modify, add, or remove entries.

If a plugin empties the array, the original is restored and an error is logged to prevent downstream issues with empty system prompts.

@Tarquinen
Copy link
Contributor Author

will rebase when PR #5462 is merged

@Tarquinen
Copy link
Contributor Author

moved to and merged in #5542

@Tarquinen Tarquinen closed this Dec 15, 2025
@Tarquinen Tarquinen deleted the system-transform-hook branch December 16, 2025 17:04
Sign up for free to 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.

1 participant