kfchow-llm-value-router
PLUGINPer-turn LLM routing: on each matching turn a TypeSafe Jev classifier call.
by KFChow · v1.0.6
What it does
Per-turn LLM routing: on each matching turn a TypeSafe Jev classifier call (api.typesafe.ai) receives turn-shape features plus the first 1200 chars of the last user message (shadow mode included) and labels it free/paid; high-confidence routine turns are downgraded to the provider's configured free rung, strategic mid-rung turns on are escalated to the configured premium rung after a 2-token billed credit probe ( only, fail-closed). Fail-open, shadow-by-default, per-provider rungs from the user's lane2_config.json (leaderboard resolver script optional).