pub enum Framing {
Full,
Bare,
}Expand description
Whether rendered output carries its auto-injected framing context.
Full wraps the deduplicated fragment bodies in the pre-prompt, the
date/system prefix, and the post-prompt. Bare suppresses everything
auto-injected — the default pre-prompt, the date/system stamp, and the
default/config post-prompt — leaving only the fragment bodies, for callers
that want just the composed prompt (e.g. a token-frugal local model that
caches the whole system prompt and is defeated by the per-call date line).
In both modes an explicit --pre-prompt/--post-prompt is honored: Bare
drops defaults, not text the user asked for. The date/system stamp is never
user-supplied, so Bare always omits it.
Variants§
Full
Surround fragments with the pre-prompt, system prefix, and post-prompt.
Bare
Emit only the deduplicated fragment bodies.