GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(opencode): allow integer GPT versions in Codex model filter by rekram1-node · Pull Request #47384 · anomalyco/opencode

Conversation

@rekram1-node

@rekram1-node rekram1-node commented Sep 4, 2026

Copy link
Copy Markdown
Member

Issue for this PR

No linked issue. gpt-6-astra is incorrectly hidden when using ChatGPT OAuth.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Makes the decimal portion of the GPT version optional in the Codex model filter. Previously, gpt-6-astra failed the regex and was removed from the model list. Integer versions now reach the existing version check; explicit exclusions and pro-mode filtering are unchanged. V2 is untouched.

Adds regression coverage for integer and decimal versions, older models, and existing exclusions.

How did you verify your code works?

  • Confirmed the new integer-version cases fail before the fix.
  • bun test test/plugin/codex.test.ts --timeout 30000: 33 passed.
  • bun typecheck: passed in packages/opencode.
  • Prettier and git diff --check: passed.

Screenshots / recordings

Not applicable.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@rekram1-node
fix(opencode): allow integer GPT versions in Codex model filter
8060747
@rekram1-node
rekram1-node merged commit 500c46e into dev Sep 4, 2026
10 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@rekram1-node
rekram1-node deleted the codex-major-versions branch September 4, 2026 23:14
This was referenced Sep 4, 2026
fix(opencode): compare Codex GPT versions by major and minor #47385
Merged
fix(core): compare Codex GPT versions by major and minor #47404
Merged
@fersilva16 fersilva16 mentioned this pull request Sep 5, 2026
chore(opencode): update to 1.18.29 for gpt-6-astra fersilva16/nix-config#647
Merged
fersilva16 added a commit to fersilva16/nix-config that referenced this pull request Sep 5, 2026
@fersilva16
chore(opencode): update to 1.18.29 for gpt-6-astra (#647)
105d8cf
gpt-6-astra shipped on the ChatGPT/Codex backend, but opencode's oauth
model filter matched ids against /^gpt-(\d+\.\d+)/ and compared them with
parseFloat, so a version with no minor component never matched and the
model was dropped before it ever reached the picker.

1.18.29 fixes it (anomalyco/opencode#47384, #47385): the minor component
becomes optional and major/minor are compared separately. That also
un-breaks gpt-5.10 and later, where parseFloat read "5.10" as 5.1 and
sorted it under the 5.4 cutoff.

models.dev added the entry at the same time, so the model arrives with
its real limits — 1,050,000 context — and a -fast variant alongside.
@lambertjosh lambertjosh mentioned this pull request Sep 5, 2026
fix(cli): show GPT-6 Astra for ChatGPT OAuth Kilo-Org/kilocode#13816
Merged
filipeforattini added a commit to reddb-io/redcode that referenced this pull request Sep 5, 2026
@filipeforattini
fix(opencode): allow integer GPT versions in Codex model filter (anom…
ff7d6c7
…alyco#47384)

Ported from anomalyco/opencode 500c46e.

Upstream: 500c46e
filipeforattini added a commit to reddb-io/redcode that referenced this pull request Sep 5, 2026
@filipeforattini
fix(opencode): allow integer GPT versions in Codex model filter (anom…
56051cc
…alyco#47384)

Ported from anomalyco/opencode 500c46e.

Upstream: 500c46e
@rudenkornk rudenkornk mentioned this pull request Sep 6, 2026
opencode: 1.18.28 -> 1.18.29 NixOS/nixpkgs#560598
Merged
5 tasks done
@github-actions github-actions Bot mentioned this pull request Sep 7, 2026
Informe upstream (semanal) jaminsmoke/Jarvis#52
Open
1056674754 added a commit to 1056674754/opencode that referenced this pull request Sep 7, 2026
@1056674754 @claude
chore: merge OpenCode v1.18.29-sscity
18a4845
Upstream v1.18.27 (4b7e19e, merged at 26dff3f) -> v1.18.29 (1674747),
29 commits / 116 files. Merge base is b046973 (default header timeout to
five minutes). Staged delta vs pre-merge fork HEAD is identical to the
upstream tag-to-tag diff, confirming a clean adoption.

Functional changes:
- fix(opencode): compare Codex GPT versions by major and minor (anomalyco#47385) and
  allow integer GPT versions in the Codex model filter (anomalyco#47384) — codex.ts;
  disjoint from fork snapshot architecture, auto-merged.
- feat(copilot): send X-Interaction-Id header with session id (anomalyco#47215) —
  github-copilot/copilot.ts, 1 line.
- chore: bump gitlab-ai-provider to 6.13.0 (anomalyco#46914).
- test(core): disable npm audits in the test preload (anomalyco#47222).
- console: limits graph, i18n for ar/br/da/de/es/fr/it/ja + others;
  app: dialog-connect-provider and open-in-app-v2 fixes; go.mdx crawl rules
  gain the x-opencode-session header bullet (took upstream whole).

Conflicts resolved: 29 package.json version bumps (rebranded 1.18.29-sscity;
HEAD had moved to the local v1.18.27 merge meanwhile), bun.lock (took
upstream, rebranded workspace entries via bun install), go.mdx (took
upstream — trivial <br/> placement in the crawl-rules list). Fork deltas
verified intact vs v1.18.29: provider ProviderSnapshot architecture,
deferred snapshot init, GLM/ZhiPu normalization in transform.ts (+77 lines
fork-only), config getFresh/commitFresh. Tests: provider, transform, config,
v2, azure plugin, session retry/llm — 1036 pass / 0 fail across 14 files;
typecheck clean.

Co-Authored-By: Claude Fable 5 <[email protected]>
arbocdi pushed a commit to arbocdi/opencode that referenced this pull request Sep 9, 2026
@rekram1-node @arbocdi
fix(opencode): allow integer GPT versions in Codex model filter (anom…
0fccc57
…alyco#47384)
@saoudrizwan saoudrizwan mentioned this pull request Sep 9, 2026
fix: Codex subscription model list and picker cline/cline#14011
Merged
4 tasks done
rossigee pushed a commit to rossigee/opencode that referenced this pull request Sep 18, 2026
@rekram1-node @rossigee
fix(opencode): allow integer GPT versions in Codex model filter (anom…
020dad3
…alyco#47384)
rldona pushed a commit to plazoleta-dev/FlupCode that referenced this pull request Sep 24, 2026
@rekram1-node
fix(opencode): allow integer GPT versions in Codex model filter (anom…
e2a8f0d
…alyco#47384)
@SDSDFFG-rgb SDSDFFG-rgb mentioned this pull request Sep 30, 2026
desktop: gpt-6.1-sol missing from ChatGPT OAuth models, shared session model forcibly switched #52375
Closed
Ichinose-Kazuki pushed a commit to Ichinose-Kazuki/opencode that referenced this pull request Oct 7, 2026
@rekram1-node
fix(opencode): allow integer GPT versions in Codex model filter (anom…
e244cd9
…alyco#47384)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@rekram1-node
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.