From 26a0b04aefc198f562b0c3d0a7cfed7f00339dce Mon Sep 17 00:00:00 2001 From: 9qeklajc Date: Wed, 6 May 2026 00:17:03 +0200 Subject: [PATCH] strict fallback --- routstr/algorithm.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/routstr/algorithm.py b/routstr/algorithm.py index 83c516b7..7fba4063 100644 --- a/routstr/algorithm.py +++ b/routstr/algorithm.py @@ -335,8 +335,15 @@ def create_model_mappings( if ( model.forwarded_model_id and model.forwarded_model_id.lower() == alias + ): + return 5 + + if ( + model.id + and model.id.lower() == alias ): return 4 + model_base = get_base_model_id(model.id) if model_base == alias: return 3