Hoaiduc195/rhinotape
为 LLM HTTP/SSE 调用提供确定性录制、回放与断言
解决什么问题
没有它,测试 LLM 应用需直连 API,慢、不稳定且产生费用,也难处理 SSE 与敏感信息。
- 离线回放零 API 费用
- 同步/异步 SSE 流式回放
- 密钥与 PII 自动脱敏
适用客户端
- cli
安装命令
pip install rhinotape pip install "rhinotape[requests]" pip install "rhinotape[aiohttp]" pip install "rhinotape[crypto]" 安全标记
- 需要 API Key: 未标注
- 本地运行: 是
- 访问网络: 是
- 需要 root: 否
维护状态
| 最近提交 | 2026-12-06(0d) |
|---|---|
| Star | 5 |
| 待处理 issue | 16 |
| 协议 | MIT |
| 已归档 | 否 |
| 数据抓取于 | 2026-12-06 |
原文摘录
以下为仓库 README 原文,未做改写,用于核对上面的摘要。
Deterministic record, replay, and assertion toolkit for LLM HTTP & SSE calls — in Python, `pytest`, and any language or framework.