Skip to content

fix(models): keep retired models out of catalog recommendations and run the pre-push artifact check without origin/staging - #10301

Merged
waleedlatif1 merged 2 commits into
stagingfrom
fix/release-review-catalog-hook
Nov 21, 2026
Merged

waleedlatif1 merged 2 commits into
stagingfrom
fix/release-review-catalog-hook

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • Follow-up to improvement(models): retire deep research, refresh model lifecycle, pricing, and reseller catalogs #10255 review threads on the v0.9.65 release PR
  • /models catalog: retired models (API calls fail) no longer get a "Best for" recommendation, and no longer appear in provider featured cards, related models, or the cheapest-model, tool-use and available-models FAQs. Each provider now carries currentModels, and every recommendation reads from it; retired model pages still build with their full facts
  • Before: 54 retired models had a "Best for" line (3 of them contradicting "Structured outputs: Not supported"), 17 retired models led featured cards on 7 provider pages, and 7 cheapest-model FAQs named a retired model. After: none
  • The "All X models support tool use" FAQ now compares against current models, so it still applies to providers that have retired models
  • .husky/pre-push: the generated-artifact check moved into a function so the fallback path (no origin/staging) runs it too, instead of exiting before it

Type of Change

  • Bug fix

Testing

  • Catalog script over every provider, before/after: retired "Best for" 54 → 0, retired featured 17 → 0, retired related suggestions 34 → 0, retired cheapest 7 → 0, live models with "Best for" unchanged (230), "All models support tool use" FAQs unchanged (21)
  • vitest run providers/models.test.ts app/(landing) (65 tests), sh -n .husky/pre-push, biome, check:comment-hygiene, pre-push hook (affected type-check + bun run generate, no drift)

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)

…un the pre-push artifact check without origin/staging
@vercel

vercel Bot commented Nov 21, 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 Nov 21, 2026 11:23pm UTC

Request Review

@greptile-apps

greptile-apps Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Keeps retired models out of catalog recommendations while preserving their pages and facts.

  • Retired models no longer appear in catalog recommendations.
  • Provider FAQs compare prices and features using current models.
  • The pre-push hook checks generated artifacts without a staging base.

Reviews (2) · Last reviewed commit: "fix(models): keep retired models out of ..." · Reviewed by Greptile

@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.

All reported issues were addressed across 2 files

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/app/(landing)/models/utils.ts Resolved
@waleedlatif1
waleedlatif1 merged commit 7e6a296 into staging Nov 21, 2026
85 checks passed
@waleedlatif1
waleedlatif1 deleted the fix/release-review-catalog-hook branch November 23, 2026 00:04

This branch was previously deployed

1 inactive deployment
Preview — 3243a1aa Deployed Nov 21, 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