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 — chore: generate · bpd1069/opencode@e2d8310

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/opencode/src/plugin
    • codex.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/opencode/src/plugin/codex.ts‎

Copy file name to clipboardExpand all lines: packages/opencode/src/plugin/codex.ts
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,13 @@ export async function CodexAuthPlugin(input: PluginInput): Promise<Hooks> {
355355
if (auth.type !== "oauth") return {}
356356

357357
// Filter models to only allowed Codex models for OAuth
358-
const allowedModels = new Set(["gpt-5.1-codex-max", "gpt-5.1-codex-mini", "gpt-5.2", "gpt-5.2-codex", "gpt-5.1-codex"])
358+
const allowedModels = new Set([
359+
"gpt-5.1-codex-max",
360+
"gpt-5.1-codex-mini",
361+
"gpt-5.2",
362+
"gpt-5.2-codex",
363+
"gpt-5.1-codex",
364+
])
359365
for (const modelId of Object.keys(provider.models)) {
360366
if (!allowedModels.has(modelId)) {
361367
delete provider.models[modelId]

0 commit comments

Comments
0 (0)
You are visitor 01402792 — 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.