Pi Agent HarnessRelease

pi 1.6.1 expands codemode decision models and fixes session and tool reliability

pi 1.6.1 lets codemode models.classify() call GitHub Copilot's gpt-6-luna-decisions and Radius decision models and return responseId; OpenRouter System One supplies its generation ID and replaces the catalog estimate with billed cost. The release splits notice settings, extends Gemini strict-tool and provider-error hooks, and fixes large-session loading, Windows child-process shutdown, MCP requests and several model compatibility issues.

  • codemode models.classify() adds GitHub Copilot gpt-6-luna-decisions and Radius decision models, with responseId in the result.
  • OpenRouter System One sets responseId to its generation ID and replaces the catalog estimate with billed cost.
  • showCacheMissNotices splits into notices.cacheMisses, notices.cacheWarming, notices.compactionCosts and notices.reasoningDrops; the old getter/setter are removed in favor of getNotices() and setNotice().
  • Adds compat.supportsStrictMode for google-generative-ai and google-vertex models and fixes strict tools, tool-call IDs and images in function responses for vendor-prefixed Gemini 3+ model IDs.
  • after_provider_response now fires for HTTP 4xx/5xx responses and every retried attempt, extending to OpenAI, Azure OpenAI, Anthropic and Google models.
  • Key fixes cover sessions with about 120,000 or more entries after compaction, Windows SIGHUP/taskkill handling, MCP string request IDs and large events, GPT-6.2 prefix_mismatch, and retries for temporary provider failures.
New featureAPICompatibilityCritical fix

Original evidence · 2026-11-25 05h

Pi Agent Harness Releases ↗Based on original text

Why it matters

Decision-model access, billing semantics and extension API changes directly affect automated workflows, while the session, Windows and MCP fixes remove blocking failures.