feat: add opt-in model allowlist for OpenRouter #45

Merged
alee merged 7 commits from feat/opt-in-allowlist into main 2026-09-06 23:13:49 +00:00

7 Commits

Author SHA1 Message Date
adlee-was-taken
91c739c2af test(allowlist): full suite — config, poller, admin, integration
Add tests/test_allowlist.py and tests/test_admin_allowlist.py covering config validation, poller filter/prune behavior, admin CRUD, and integration scenarios A/B/C plus NeuralWatt regression.

Also set conn.row_factory = sqlite3.Row in poller.main() so the new allowlist SELECT returns Row objects, matching the rest of the codebase.
2026-09-06 18:33:14 -04:00
adlee-was-taken
3caf1d4eea feat(admin-ui): add allowlist management section to providers page 2026-09-06 18:28:09 -04:00
adlee-was-taken
c3e3b9ca48 feat(admin): add allowlist CRUD + catalog-preview API 2026-09-06 18:19:15 -04:00
adlee-was-taken
5ab9c4f099 feat(poller): add allowlist filter+prune for openrouter provider 2026-09-06 18:11:01 -04:00
adlee-was-taken
b13b635a1b feat(config): add require_allowlist field to DispatchProvider 2026-09-06 18:07:09 -04:00
adlee-was-taken
61180989a6 feat(seed): add openrouter allowlist seed SQL (30 models) 2026-09-06 18:05:26 -04:00
adlee-was-taken
56011a2e51 feat(schema): add provider_model_allowlist table with index 2026-09-06 18:03:43 -04:00