Repository navigation
·
232 commits
to main
since this release
Patch Changes
- #3171
9448cd8Thanks @ben-reitz! - Support Pi 1.6.1 (~1.6.1). Pi tools now park with{ kind: "sleep", signals, until }instead of{ sleep: { ... } }, and a signal's state is{ kind: "value", value }or{ kind: "expired" }; a tool that still returns the old shape compiles but ends with an empty result, so update parking tools when you upgrade.agents/models/pi-ainow matches pi-ai 1.6.1: a chat-completions stream that ends withfinish_reason: "error"fails with an error the Pi harness retries under its retry settings,rawStopReasonrecords the provider's reason (with OpenRouter'snative_finish_reason), an OpenRouterstopwith no output and a failing native reason is a retryable error, andonResponsesees every response, failures included. Theagents/modelsSSE decoder reads large streamed events in linear time. See pi-durable 1.6.1's changelog and Pi harness.