CI check flags pull requests that add retired OpenAI or Anthropic models
A retired AI model rarely breaks tests, since those tests typically mock the LLM, and the failure instead surfaces in production after the shutdown date. The article proposes checking model identifiers at pull request time using a GitHub Actions workflow that requires no account or API key. Retired models cause the check to fail with a PR comment naming the file, line, and a suggested replacement, while models retiring within 90 days pass with a warning. The action can be configured to block on soon-to-retire models, scope checks to subfolders in monorepos, and expose outputs for custom workflow logic. The retirement data draws on dates published by providers including OpenAI, Anthropic, Google, Mistral, and AWS Bedrock, among others.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in