In the DSH (DeepSeek Harness) ecosystem, balancing the cost and quality of large model reasoning often relies on human judgment. The dsh-jev-router introduces TypeSafe AI’s Jev decision model, transforming the question “how strong does the user need the reasoning to be” from a subjective matter into an objective one.
Maintained by CSlawyer1985 and licensed under MIT. By default, it only switches the thinking intensity (reasoning_effort) without altering the model itself or the prompt prefix, thereby ensuring prompt cache safety.
Core Capabilities¶
- Semantic Judgment and Reasoning Intensity Routing: Jev determines whether to use
off,low,high, ormaxintensity reasoning for the current request. - Cache Safety: Judgment results only modify call configurations via
agent/request; they do not rewritemessagesor register system prompts, avoiding cache corruption. - Cost Gate and Confidence Threshold: Decisions are made based on confidence thresholds. If the threshold is not met, the plugin abstains, and the default tier is retained.
- Full-Chain Rollback: Supports rolling back to the state prior to the switch via commands or settings.
- Automatic Model Routing (Optional): Automatically switches the provider or model when specific gating conditions are met (disabled by default).
- Manual Override: Allows users to pin a fixed tier via commands or the interface.
How It Works¶
Jev is TypeSafe AI’s System One decision model. It does not generate text; it only outputs structured judgments. The plugin evaluates user requests using the following primitives:
- choice: Select one from fixed options (e.g., reasoning intensity tier).
- score: Score according to an ordered scale (e.g., cost of error).
- noul: Judge as yes/no (e.g., whether the user wants a quick answer).
Jev’s output includes probabilities and confidence. The plugin filters based on configured confidence thresholds. If the judgment confidence is insufficient, the plugin abstains, and the Harness default tier is used. Jev does not chat or write code; it only handles structured judgment requests.
Common Commands¶
All judgments and configurations can be performed via commands:
/jev View status (equivalent to /jev status)
/jev status View status (tier, source, confidence, hit rate, savings)
/jev effort low Manually pin the tier (manual value has the highest priority)
/jev model auto on Enable automatic model routing
/jev why Explain why this tier was chosen for the current judgment
/jev rollback Roll the model back to the state before the switch
/jev pricing refresh Refresh pricing from the official DeepSeek website
/jev about Plugin and author information
In terms of UI interaction, the input box permanently displays a badge showing the currently active thinking intensity. Clicking it allows cyclic switching (auto → off → low → high → max).
Installation and Activation¶
Please refer to the GitHub repository instructions for installation methods; specific commands were not explicitly provided in the source material. After enabling, you must configure the TypeSafe API Key in the settings page. Note that the plugin only supports text input and ignores image and file attachments.
Limitations and Notes¶
- Text Only: The plugin processes text content only; it does not handle image, audio, or video attachments.
- Context Limit: The context limit is 64K.
- Command Language: Commands and option descriptions are unified in English.
- Confidence Definition: Jev’s confidence does not represent the accuracy rate; if it is below the threshold, the plugin abstains.
- No Content Generation: Jev does not participate in text generation, chatting, or coding.