pub fn post_refusal_reason(msg: &str) -> Option<String>Expand description
Why a text posted for others to read (a bulletin or a channel post) is refused as being about credentials or a
destructive action, or None when it may be posted: the word or phrase that matched, as it stands in the text.
Like is_sensitive_message, except for the word “token”, which is also the unit a model’s usage is counted in:
it is let through only when it is clearly that (a number or a usage word beside it: “40k tokens”, “save
tokens”, “token budget”); in any other place it is refused. A jekt’s tier still escalates on the bare word, as
is_sensitive_message says.