Saltar al contenido principal

Variable: PromptPostProcessingModes

const PromptPostProcessingModes: readonly ["", "merge", "merge_tools", "semi", "semi_tools", "strict", "strict_tools", "single"]

Defined in: packages/contracts/src/settings.ts:28

Prompt post-processing modes (mirrors the classic SillyTavern custom_prompt_post_processing select). Each mode reshapes the clean message array right before instruct rendering / provider serialization. The _tools variants keep tool-call/tool-result pairs intact; the plain variants drop tool messages. '' (empty) means no post-processing. The transform itself lives in the server prompt pipeline (AGENTS §8); this enum only names the user-selectable strategies.