uf-hy

cpa-plugin-codexcomp

uf-hy

CLIProxyAPI plugin that detects and repairs gpt-5.5 reasoning truncation (518n−2 pattern) via encrypted_content replay and multi-round folding

AI 简介

这是一个专为CLIProxyAPI(CPA)设计的Go语言插件,用于检测并修复gpt-5.5等模型在流式推理中因token数精确停在518n−2模式(如516、1034)导致的推理截断问题。插件通过拦截符合特定条件的OpenAI/Anthropic协议流式请求,利用encrypted_content重放机制自动续写,并将多轮响应折叠为单次透明输出,同时支持异步流式转发以规避首字节超时。适用于AI Agent、自动化代码生成、复杂推理任务等对模型思维连贯性要求较高的场景,无需修改客户端配置,直接集成于CPA进程内运行。

Go
MIT License
65
Stars
7
Forks
51
Watchers
1
Issues

Star 增长

今日0
近 7 天0
近 30 天+1
综合评分42.81
默认分支master