Skip to content

fix(models): mark OpenAI gpt-4.1-nano deprecated - #9340

Merged
waleedlatif1 merged 1 commit into
stagingfrom
fix/deprecate-gpt-4-1-nano
Oct 23, 2026
Merged

waleedlatif1 merged 1 commit into
stagingfrom
fix/deprecate-gpt-4-1-nano

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • Move OpenAI gpt-4.1-nano from legacy to deprecated — OpenAI retired it and calls now return 404
  • Deprecated models are hidden from pickers but stay known ids, so existing pinned workflows still validate
  • azure/gpt-4.1-nano left as-is; Azure retirement runs on its own schedule

Type of Change

  • Bug fix

Testing

  • providers/models.test.ts, providers/utils.test.ts (219 passing)
  • biome on models.ts; generate:agent-stream-docs / docs-manifest / tool-metadata / skills:sync produced no drift
  • Full audits, type-check, and suite left to CI

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing (new tests pass the test-audit authoring gate)
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

🤖 Generated with Claude Code

OpenAI retired gpt-4.1-nano and the API now returns 404, so move it from legacy to deprecated: hidden from model pickers, still a known id so pinned workflows validate.
@vercel

vercel Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Oct 23, 2026 6:56pm UTC

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Heads up: you’re close to your flex budget. Increase your flex budget so reviews don’t pause.

Turn on auto-fix | Re-trigger cubic

@greptile-apps

greptile-apps Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] This change appears safe to merge.

Summary

Marks OpenAI gpt-4.1-nano as deprecated instead of legacy.

  • OpenAI gpt-4.1-nano is now marked as retired.

No actionable issues found.

Reviews (1) · Last reviewed commit: "fix(models): mark OpenAI gpt-4.1-nano de..." · Reviewed by Greptile

@waleedlatif1
waleedlatif1 merged commit 0f755fe into staging Oct 23, 2026
67 checks passed
@waleedlatif1
waleedlatif1 deleted the fix/deprecate-gpt-4-1-nano branch October 23, 2026 19:40

This branch was previously deployed

1 inactive deployment
Preview — 8d18a79d Deployed Oct 23, 2026 by vercel[bot]
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