Skip to content

feat(models): support GPT-6.2 Sol and GPT-6.2 Astra - #2415

Merged
vastsa merged 1 commit into
mainfrom
feat/gpt-6-2-models
Nov 18, 2026
Merged

vastsa merged 1 commit into
mainfrom
feat/gpt-6-2-models

Conversation

@vastsa

@vastsa vastsa commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Summary

OpenAI published gpt-6.2-sol and gpt-6.2-astra on 2026-11-17. pi-ai 1.5.2 (latest on npm) does not list them, and the bundled models.dev snapshot predates them, so Desktop resolved both as generic 128k / 8.2k models with no reasoning levels, prices or Responses transport capabilities.

  • pi-ai patch: adds both ids to openai, openai-codex, github-copilot and opencode provider data, cloned from gpt-6.1-sol / gpt-6-astra (same API, base URL, compat, thinking map) with published prices (Sol $2/$10, Astra $8/$40, >272k tier). Lockfile patch hash updated.
  • Bundled models.dev: inserts only the 20 published records for these two ids (openai, opencode, openrouter, vercel, kilo, …); no full refresh.
  • Changelog (9 locales) and docs/project/pi-152-adoption.md.

Not patched: openrouter / vercel-ai-gateway pi-ai data (several hundred KB single-line JSON); those rows still get limits/prices from models.dev.

Validation

Task candidate: 3ea8f4dc1 on base c52a93cc2 (origin/main).

  • check:pr-base, check:pi-patches, check:pi-dependencies, build:js, desktop + agent-runtime typecheck, lint, docs:check: pass
  • agent-runtime 2049/2049, shared 1442/1442, pi-patch-hash 7/7
  • Desktop 5222: 5216 pass, 4 skipped, 2 fail (image-model-disclosure-user-path, market-browse-user-path) — neither reads the model catalog or pi-ai data
  • New tests fail on the old data (source: 'generic') and pass now
  • E2E: model-discovery-state, composer-model-selection, provider-api-style: pass
  • Not exercised against a real OpenAI / ChatGPT account

OpenAI published gpt-6.2-sol and gpt-6.2-astra on 2026-11-17, but
pi-ai 1.5.2 does not list them, so Desktop resolved both as generic
128k/8.2k models without reasoning levels, prices or the Responses
transport capabilities (tool search, mid-conversation system messages).

The pi-ai patch adds both ids to the openai, openai-codex, github-copilot
and opencode provider data, cloned from gpt-6.1-sol / gpt-6-astra with
the published prices. The bundled models.dev snapshot gains only the
published records for these two ids instead of a full refresh. Drop the
patch hunks once pi-ai ships the entries.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying pi-desktop with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3ea8f4d
Status: ✅  Deploy successful!
Preview URL: https://b28ee7a3.pi-desktop.pages.dev
Branch Preview URL: https://feat-gpt-6-2-models.pi-desktop.pages.dev

View logs

@vastsa
vastsa merged commit 3dd8b95 into main Nov 18, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant