ai.internal._redact_after

(internal) Replace the value that follows each `marker` with `REDACTED`, up to the first delimiter that can end a query value inside a rendered error string.

Reference version

Signature

function ai.internal._redact_after(text: string, marker: string) -> string

(internal) Replace the value that follows each marker with REDACTED, up to the first delimiter that can end a query value inside a rendered error string.

Source:<builtin>/ai/ns_internal/wire.bamlbytes 5731094