This Regex:
does not match RR models which have a dash in the second part. I.e. it matches revertrisk-multilingual, but not revertrisk-language-agnostic.
The proper RE would be using ([\w-]+), or in full: 'lw/inference/v1/models/revertrisk-([\w-]+):predict' to allow for arbitrary numbers of word-like (\w) and - characters.
See also: https://regex101.com/r/hjd93J/1