Expand description
Legacy DeepSeek-scoped prompt complexity classifier.
This pure scorer is retained for API compatibility, but the consolidated
CLI dispatcher must not use it to resolve provider-neutral model = "auto":
doing so fabricates DeepSeek model ids for every active provider. The TUI’s
provider-aware router owns runtime auto selection. Callers may use this
helper only when their candidate pair is explicitly the DeepSeek pair:
deepseek-v4-pro— complex tasks (debugging, refactoring, design, security review, multi-file changes, code generation, …).deepseek-v4-flash— simple tasks (lookups, formatting, small edits, translation, Q&A, …).
This is a pure rule-based classifier. It lives in the config crate because
the resolved model name is a config-level concern; the route resolver never
sees the "auto" sentinel or the prompt text.
Constants§
- FLASH_
MODEL - The resolved model name for the flash tier.
- PRO_
MODEL - The resolved model name for the pro tier.