# Oh My Pi v17.3.7: grok-4.6 default, 1M context window on Codex, extension file fallback API

> Default xAI model bumps to grok-4.6 for both API key and SuperGrok OAuth transports. GPT-5.6 context window on the Codex subscription transport is raised to 1M tokens (working around a stale Codex registry value). A new ExtensionAPI hook lets sandboxed hosts delegate file writes and deletes to a privileged channel. An omp/ User-Agent is now sent on xAI chat requests, and the stats dashboard binds to an explicit host address.

| | |
|---|---|
| **Tool** | Oh My Pi |
| **Version** | v17.3.7 |
| **Kind** | release |
| **Published** | 2026-08-18 |
| **Observed** | 2026-08-21 |
| **Significance** | 3/5 |
| **Breaking** | no |
| **Categories** | feature, fix, context-window, api-change |

## What changed


- **Model defaults:** XAI_API_KEY and SuperGrok OAuth default models changed to grok-4.6; automatic selection prefers xai/grok-4.6 when only XAI_API_KEY is set.
- **Context window:** GPT-5.6 Sol/Terra/Luna on Codex transport raised from 372K to 1M tokens — OpenAI enabled 1M for subscription Codex on 2026-08-16, but the Codex registry still reports 272K, so discovery now floors these SKUs at 1M.
- **Extension API:** `registerFileWriteFallback(handler)` and `registerFileDeleteFallback(handler)` let extensions supply fallback writers/deleters for when native byte-writes or unlinks are denied with EPERM/EACCES/EROFS; the brokered path is symlink-resolved, unresolvable destinations are not brokered, and `req.sessionId` enables per-session policy.
- **User-Agent:** omp/<version> sent on xAI chat (xai and xai-oauth) unless the request already set its own.
- **Stats dashboard:** accepts `--host` bind address for container-host access; defaults to 127.0.0.1.


## Sources

- [github_release](https://github.com/can1357/oh-my-pi/releases/tag/v17.3.7) — retrieved 2026-08-21


## Community

_No curated reactions recorded. Facts and community takes are kept in separate layers
and never blended._

---
Canonical: https://changelogs.info/oh-my-pi/v17-3-7
Entity: https://changelogs.info/oh-my-pi
Event ID: `evt_2026-08-18_oh-my-pi_v17-3-7`
Licence: event synthesis © changelogs.info, CC BY 4.0. Linked sources belong to their vendors.
