返回目录
模型与 MCP 插件

dsh-ttft-hedge

r-ayin/dsh-ttft-hedge

Hedged requests for streaming /v1/messages LLM calls: fires a second attempt when response headers miss a deadline and races them, retries immediately on 5xx/504, passes through 4xx/429, with statistics.

Stars
0
Forks
0
Issues
0
更新
16 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:r-ayin/dsh-ttft-hedge

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-ttft-hedge

TTFT 优化:对发往 LLM 中继 /v1/messages 的流式请求做对冲(hedged request)——deadline 内未收到响应头则并行发第二个请求,先到先用;5xx/504 立即重抽;4xx/429 原样返回。附统计工具与 stats 文件。

由 dsh-super-injector dev_scaffold_plugin 生成。

构建与注入

bash scripts/build.sh
# 注入器环境内:dev_inject_plugin <本目录>

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。