Allow prompt post-processing for all sources. Add 'single user msg' processing (#4009)

* Allow prompt post-processing for all sources. Add 'single user msg' PPP type

* Fix copilot comments

* Fix typo in element id

* Remove redundant conditions

* Lint fix

* Add link to PPP docs
This commit is contained in:
Cohee
2025-05-22 20:36:22 +03:00
committed by GitHub
parent 157315cd68
commit ade45b6cd1
5 changed files with 55 additions and 22 deletions

View File

@ -203,13 +203,14 @@ const continue_postfix_types = {
DOUBLE_NEWLINE: '\n\n',
};
const custom_prompt_post_processing_types = {
export const custom_prompt_post_processing_types = {
NONE: '',
/** @deprecated Use MERGE instead. */
CLAUDE: 'claude',
MERGE: 'merge',
SEMI: 'semi',
STRICT: 'strict',
SINGLE: 'single',
};
const openrouter_middleout_types = {