pi 1.0.2: bump @earendil-works/pi-ai + pi-agent-core 0.87.1 → 1.0.2
All imports and Agent seams survive (verified pre-bump). Fallouts, all catalog drift handled by the documented refresh path: - sync-pricing.ts: catalog schema v6 keys are type-qualified (chat:id); price chat models only, strip the prefix so PRICES keys stay provider:id - prices.ts regenerated (1537 keys); auth-keys gains the typesafe provider - test pins: glm-5.3-flash contextWindow 1048576→1048575, cacheRead 0.05→0.03 (activity-feed, model-catalog, render-activity-dock, usage) Inherited free: at-capacity retry, unfinished-tool-call error handling, model samplingParams no longer dropped on direct stream().
This commit is contained in:
@@ -85,7 +85,9 @@ test("activityFeed: contextLimit is the server's live-catalog join (owner amendm
|
||||
|
||||
const feed = activityFeed();
|
||||
const knownJob = feed.jobs.find((j) => j.id === known.id)!;
|
||||
assert.equal(knownJob.contextLimit, 1_048_576, "pi's catalog, joined server-side onto the feed");
|
||||
// pi 1.0.2's catalog: glm-5.3-flash contextWindow 1_048_575 (was
|
||||
// 1_048_576 at 0.87.1 — upstream models.dev refresh).
|
||||
assert.equal(knownJob.contextLimit, 1_048_575, "pi's catalog, joined server-side onto the feed");
|
||||
const unknownJob = feed.jobs.find((j) => j.id === unknown.id)!;
|
||||
assert.equal(unknownJob.contextLimit, null, "missing from the live catalog → null, never a guessed window");
|
||||
const bareJob = feed.jobs.find((j) => j.id === bare.id)!;
|
||||
|
||||
Reference in New Issue
Block a user