Skip to content

Files

  • Show a streamed reply - How piighost restores a model reply streamed as it arrives, holds back a placeholder cut between two chunks until it is whole, and what stays on screen when the stream is interrupted.
  • Impose a deny list and an allow list - How the configuration deny list (override section) forces the masking of a value that the detector misses, how the allow list keeps a value in clear text, who wins when the two contradict each other, and why these lists take precedence over a human correction.
  • Let a tool act on the real values - How piighost puts the real values back in the arguments of a tool call, masks the tool result before the model, chooses between four tool settings and handles an invented placeholder in an argument.
  • Protect a message before it is sent to the model - The stages a text goes through in piighost before it reaches a model (detection, deny list and allow list, overlaps, missed occurrences, grouping, replacement with a placeholder, final check), the rules of each stage and where they live in the code.
  • Follow a conversation and restore the reply - How piighost keeps the same placeholder for a value across a whole conversation, requires a conversation identifier, restores the model's reply, handles the values the assistant brings and the invented placeholders, applies a human correction and erases a conversation.