Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"@xterm/addon-fit": "^0.11.0",
"@xterm/addon-web-links": "^0.12.0",
"@xterm/xterm": "^6.0.0",
"ai-ration": "github:maonakamoto/ai-ration#v0.2.0",
"ai-ration": "github:maonakamoto/ai-ration#v0.2.1",
"bip-kit": "^0.1.0",
"bs58check": "^4.0.0",
"class-variance-authority": "^0.7.1",
Expand Down
12 changes: 11 additions & 1 deletion scripts/test/agent-name-lookup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,19 @@ function candidates(message: string): string[] {
// moment the chain moved into `ai-ration` — the property held perfectly and
// the test failed anyway, because it was reading a source file rather than
// the thing the source file produces.
// …and asserted as a SET rather than one id. The previous anchor was
// `llama-3.1-8b-instant` alone, which the vendor retired on 2026-08-18 —
// so the guard failed not because the property broke but because its single
// example rotted. Anchoring a rot-detector to one pinned id reproduces the
// exact failure it is watching for. Any probed model satisfies it.
//
// Membership here means: called with a real tool definition and observed to
// emit a parseable tool call. gpt-oss-120b / gpt-oss-20b probed 2026-08-25
// (native tool_call, correct arguments). Do not add a model you have not run.
const LOOP_VERIFIED = ["openai/gpt-oss-120b", "openai/gpt-oss-20b"];
const models = CHAT_CHAIN.flatMap((p) => p.models);
assert.ok(
models.includes("llama-3.1-8b-instant"),
models.some((m) => LOOP_VERIFIED.includes(m)),
`the chain must keep a model verified to drive the loop, got: ${models.join(", ")}`,
);
}
Expand Down
Loading