chore: pi family 0.85.1 -> 0.87.1 (finishTurn, transcript contexts, typebox 1.3.27)
Mechanical fallout only; semantic deltas flagged in the wave report:
- shouldStopAfterTurn -> finishTurn ({action:'end'} wrap; loop order verified
equivalent for Wave C stranding)
- transcript rework: seeded leading SystemMessage filtered at both
state.messages read seams (ui-stream settleWith, pi-run slice); prompt
and tool declarations now ride the transcript
- streamOnce sites normalizeContext() (Context -> TranscriptContext)
- AgentToolResult details / ToolCall.arguments JsonValue narrowing (casts)
- AUTH_PROVIDER_KEYS regenerated (meta added); glm-5.3-flash price pin
follows the 0.87.1 catalog (0.15/0.5/0.05)
- vanish probe: 0/12 vs 2/6 baseline; live smoke green on PORT=3004
This commit is contained in:
@@ -66,8 +66,9 @@ describe("the model catalog projection", () => {
|
||||
assert.ok(glm, "glm-5.3-flash in catalog");
|
||||
assert.deepEqual(glm!.supportedLevels, ["low", "high", "max"]);
|
||||
assert.deepEqual(glm!.input, ["text", "image"]);
|
||||
// pi's current glm price (our old table said 0.15/0.5 — stale)
|
||||
assert.deepEqual(glm!.cost, { input: 0.075, output: 0.25, cacheRead: 0.015, cacheWrite: 0 });
|
||||
// pi's current glm price (0.87.1 raised it back to 0.15/0.5 — the
|
||||
// 0.85.x catalog had temporarily listed 0.075/0.25/0.015)
|
||||
assert.deepEqual(glm!.cost, { input: 0.15, output: 0.5, cacheRead: 0.05, cacheWrite: 0 });
|
||||
// model slots wave: the providers surface + the resolved slot pins
|
||||
const openrouter = providers.find((p) => p.id === "openrouter");
|
||||
assert.ok(openrouter && openrouter.keyPresent, "openrouter federated (key pinned above)");
|
||||
|
||||
Reference in New Issue
Block a user