@@ -862,6 +862,45 @@ Plain text continuation also applies the limit, including to old tool-image hist
862862Each selected model or fallback channel uses its own limit at the executing host;
863863older hosts must be upgraded to enforce this optional setting.
864864
865+ ## Classifier Router services
866+
867+ On a development build with Smart mode enabled, a classifier service can use
868+ the existing OpenAI Chat Completions configuration. Add its API service and
869+ model in Settings > Models, then select it in the Smart mode configuration.
870+ For the local classifier service, use:
871+
872+ | Setting | Value |
873+ | ---| ---|
874+ | Request format | OpenAI Chat Completions |
875+ | Base URL | ` http://127.0.0.1:8767/v1 ` |
876+ | Model | ` router-qwen35-0.8b ` |
877+ | API key | ` local-router ` placeholder when the model editor requires a value |
878+ | Context window | ` 32768 ` |
879+ | Router compatibility | Classifier Router |
880+ | Request timeout | Start with the service's documented allowance, such as 120 seconds for cold or long inputs |
881+
882+ Use ** Save and check connections** in the Smart mode configuration. Once the
883+ model is selected as the Router service, its model-card and editor checks also
884+ use the same classifier protocol with the configuration being tested. An
885+ unselected ordinary model still receives chat/tool checks. The existing primary and
886+ economy models remain independently configured. Router classification and
887+ automatic history preparation do not change subagent model selection.
888+
889+ The Classifier Router profile sends exactly two full system/user messages,
890+ uses ` router.probabilities.simple_type ` for the existing economy threshold,
891+ and consumes complete ` usage.prompt_tokens ` for input-budget calibration.
892+ It serializes classifier calls across sessions within one execution host and
893+ connects directly to loopback endpoints. Other processes using the same
894+ single-concurrency service can still receive a busy response. Every request
895+ keeps the full prepared input; prefix caching stays on the service.
896+
897+ The default compatibility profile preserves the existing token-logprob Router
898+ wire format. An older execution host that does not advertise Classifier Router
899+ support cannot configure this profile through the GUI. Unsupported future
900+ profiles remain readable and fail explicitly rather than using another protocol.
901+ Loopback addresses refer to the machine running the Agent, including a Peer
902+ host; an SSH workspace alone does not move the Router off the execution host.
903+
865904## Model pools
866905
867906In ** Settings → AI models → Model pools** , create named pools from existing model
0 commit comments