| 27 | namespace { |
| 28 | int g_fail = 0; |
| 29 | void check(bool ok, const char* what) { |
| 30 | std::printf(" %-66s %s\n", what, ok ? "ok" : "FAIL"); |
| 31 | if (!ok) ++g_fail; |
| 32 | } |
| 33 | } // namespace |
| 34 | |
| 35 | // a conversation of `turns` turns of `turn` tokens each after a `root`-token system prompt, a checkpoint at every turn's |