Skip to content
5.24.0
PROMPT INJECTION UPDATE
---
So basically, there are 8 new variables:
6 message injectors (string):
- pre_user / pre_assistant / pre_system
  ^ these will be prefixing each message from their role
- post_user / post_assistant / post_system
  ^ these will be suffixing each message from their role
2 history injectors (list of message dicts):
- pre_history / post_history
Basically, each message dict must contain a "role" key
  and a "content" key.
  "role" should be one of: user/assistant/system
  and "content is the actual message content"
You can just take a message history dict from a /save,
  these are loaded the same.

Note that history injectors won't be affected by message
  injectors!