Constants§
- LARGE_
PROMPT_ THRESHOLD - Truncation threshold, matching the shell’s large-prompt limit.
Functions§
- format_
interjection - Wrap interjection text as a synthetic user message with a mid-turn note. No deferral instruction: the model decides how to weigh it against in-flight work. Output is byte-identical to the shell’s historical format.
- user_
query - Wrap a user message in the canonical
<user_query>envelope.