Pi v0.80.8: ModelRuntime, xAI OAuth, Grok 4.5, SDK breaking changes
Major release introducing ModelRuntime — a unified async model configuration and auth facade — replacing the synchronous ModelRegistry and AuthStorage APIs in the SDK. Adds xAI device-code OAuth login, Grok 4.5 with configurable thinking levels, live model catalog refresh via /model and pi update --models, and extension provider dynamic model discovery. Existing SDK consumers must migrate from AuthStorage and ModelRegistry methods to ModelRuntime.
PUBLISHED2026-07-16
OBSERVED2026-08-21
AGE1mo
SOURCES1
Breaking
- Replaced
CreateAgentSessionOptions.authStorageandmodelRegistrywith asyncmodelRuntime;AuthStorageno longer exported - Removed
ModelRuntime.getAll(),find(),getSnapshot(),getAuthOptions()— use pi-aiModelsmethods directly - Replaced
ModelRegistry.getApiKeyAndHeaders()withModelRuntime.getAuth() ModelRegistry.refresh()changed from synchronousvoidtoPromise<void>— extensions must await it- Dynamic catalog refresh moved to async
ModelRuntime.refresh()/ pi-aiModels.refresh()
Added
ModelRuntimeas canonical async model/auth facade, accepts any pi-aiCredentialStore- Provider-owned
/logindiscovery from registered pi-ai providers - File-backed dynamic catalogs (
models-store.json), per-provider pi.dev catalog overlays, Radius gateway support - Extension provider
refreshModels(context)for dynamic model discovery pi update --modelsforces immediate catalog refresh- xAI device-code OAuth login and Grok 4.5 with low/medium/high thinking
Changed
/modelrenders current snapshot immediately, refreshes providers in background
COMMUNITY
No curated reactions recorded for this event. Facts and takes are kept in separate layers — community context is added by hand, never blended into the record above.