抓包对比工具补一批一次性脚本:拆预设、对请求、跑 A/B 与拒答抽样。

这些脚本都是我对着酒馆真实请求手工核对用的,留在仓库里方便下次重跑;跑出来的本地数据目录含接口 key,已经写进忽略规则。
This commit is contained in:
2026-10-26 01:09:56 +08:00
parent e2413b0677
commit 1a5ef3b2bc
24 changed files with 1568 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import { readFileSync } from "node:fs";
const d = JSON.parse(readFileSync(process.argv[2], "utf8"));
console.log("state:", JSON.stringify(d.state));
console.log("prompt_ready 次数:", d.items.length);
d.items.forEach((item, k) => {
console.log("\n--- 第 " + k + " 次, " + item.length + " 条 ---");
item.forEach((m) => console.log(" #" + m.i + " [" + m.role + "] name=" + m.name + " len=" + m.len + " :: " + m.head));
});