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

Merged
WA
6d ago
+1-1

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