mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-25 16:42:16 +03:00
The shared isFreeModel() predicate ignored each catalog entry's freeType, so Pollinations models marked "discontinued" (moved behind a paid key) were still reported free and could be routed under hidePaidModels. Add a compiler-checked grantsFreeAccess(freeType) table and use it in both the routing predicate and strictZeroCostFilter. Tests: tests/unit/autoCombo/free-regime-not-read-by-predicate.test.ts