uf-hy GitHub avatar

cpa-plugin-codexcomp

uf-hy

一个CPA插件,通过encrypted_content重放自动续写推理,检测并修复gpt-5.5等模型流式请求中的推理截断,对客户端完全透明。

Stars

75

7 天增长

暂无数据

Fork 数

7

开放 Issue

2

开源协议

MIT

最近更新

2026-07-19

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

针对已知的518n−2截断模式导致agent场景降智问题,基准测试显示糖果评估任务准确率从40%提升至100%。

适合谁使用

  • AI agent用户(Codex、Claude Code)
  • CPA代理管理员
  • 使用gpt-5.5/luna/terra模型的开发者
  • 优化推理深度性能的工程师

典型使用场景

  • 防止编程agent中的截断导致答案错误
  • 提高复杂多步问题的推理质量
  • 作为透明中间件无需修改客户端配置
  • 通过可配置参数进行A/B测试续写效果

项目优势

  • 以Go C-ABI共享库集成,无独立代理进程开销
  • 支持OpenAI Responses/Chat Completions和Anthropic Messages API,自动协议翻译
  • 异步流式实现首字节延迟低(简单问题<500ms)
  • 开源MIT协议,致谢清晰,配置文档完善

使用前须知

  • 依赖非契约模型行为(518n−2截断模式和encrypted_content字段),若OpenAI更改则失效
  • 仅对已配置模型生效(默认gpt-5.5等),Terra存在未处理的非标准截断
  • 续写轮消耗真实token,metadata仅在openai-response协议下可见
  • 实验性min_reasoning_tokens功能实际效果不佳

README 快速开始

安装

项目描述

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

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

nethical6
精选
nethical6 GitHub avatar

conversation-steganography

A tool that hides encrypted secret messages inside innocent-looking AI-generated chat text for private communication over any messaging platform.

Go
1,149
programmersd21
精选
programmersd21 GitHub avatar

flow

flow is a minimalist terminal dashboard that displays real-time network throughput with smooth animations, multiple responsive modes, and zero configuration.

开发者工具CLI 与终端
277
MobAI-App
MobAI-App GitHub avatar

simslim

simslim reduces iOS simulator memory usage by 4x by disabling unnecessary background daemons, allowing many more simulators to run on a single Mac.

Go
248