Skip to content

genesys: Add numeric model IDs and prefer them to string comparisons

Currently model-specific behavior is enabled by comparing the model name string to a string constant. Any typo in the constant will lead to hard to find and non-obvious bugs. This PR fixes this issue by introducing numeric model IDs as an enum. This will make typo errors much harder to make.

Merge request reports