dylan121322/llm-adaptive1

llm-adaptive

DeepSeek Harness 的自适应模型路由:针对每个请求进行复杂度分类,并自动路由到相应的服务商。

AI 分析

核心用途是根据用户输入的复杂度(低/中/高/关键)自动分流并路由至最合适的模型。适合需要平衡响应速度、模型能力与 API 成本的用户。

套件
llm-adaptive
版本
0.1.0
授權
MIT
最近更新
2026年8月14日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dylan121322/llm-adaptive

Usage

  1. Open /model and choose adaptive(自动路由).
  2. Every subsequent LLM request is classified (low/medium/high/critical) and routed to the first available provider of that level's chain.
  3. Decisions are logged with level=… cause=… chain=… to ~/.dsh/hooks/plugin.log.

The explicit level models (low, medium, high, critical) are also listed in the picker for direct selection.