realZachi/typesafe-adblock on GitHub
- Stars
- 74
- Forks
- 6
- Language
- JavaScript
- License
- MIT
- Last push
- 17 Sep 2026
Read from GitHub on . Counts change daily.
How it uses Jev
// Used by the extension service worker and by test/live-check.mjs in Node.
// Docs: https://docs.typesafe.ai/api (POST /v1/systemone, Noul questions)
export const TYPESAFE_ENDPOINT = "https://api.typesafe.ai/v1/systemone";
export const TYPESAFE_MODELS_ENDPOINT = "https://api.typesafe.ai/v1/models";
export const DEFAULT_MODEL = "jev-latest";
// Jev context limits (docs/model-jaggedness): 64k tokens for state + all
// questions, 32k for state + longest question. ~30 compact candidates stay
// far below that; the content script also batches with this cap.
export const MAX_CANDIDATES_PER_REQUEST = 30;


