Skip to content

Add retirement dates#1333

Merged
harshiv-26 merged 3 commits into
mainfrom
add-retirement-dates
Jun 11, 2026
Merged

Add retirement dates#1333
harshiv-26 merged 3 commits into
mainfrom
add-retirement-dates

Conversation

@harshiv-26

@harshiv-26 harshiv-26 commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

FE uses isDeprecated flag for 'FIX NOW', keeping status deprecated is fine


Note

Low Risk
Schema and metadata-only changes to model catalog YAML and generated types; no runtime auth or API behavior in this diff.

Overview
Introduces optional retirementDate (YYYY-MM-DD) on model configs in the Cue schema and generated TypeScript types, alongside small clarifications to #Status comments for deprecated vs retired.

Two AWS Bedrock models are updated to use status: deprecated, concrete retirement dates, and model-card sources instead of isDeprecated on the YAML entries. The Llama 3.1 405B entry also sets mode: chat (was unknown) and drops the deprecated flag from regional costs.

Bedrock provider documentation gains a link to AWS model cards.

Reviewed by Cursor Bugbot for commit f3af667. Bugbot is set up for automated code reviews on this repo. Configure here.

@harshiv-26 harshiv-26 enabled auto-merge (squash) June 11, 2026 08:05
@harshiv-26 harshiv-26 merged commit 23d30d6 into main Jun 11, 2026
8 checks passed
@harshiv-26 harshiv-26 deleted the add-retirement-dates branch June 11, 2026 08:06

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit f3af667. Configure here.

- system_messages
- tool_choice
- assistant_prefill
isDeprecated: true

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Removed isDeprecated breaks FE

Medium Severity

This change drops isDeprecated from the Bedrock model YAML while the PR notes the frontend still uses that flag for “FIX NOW”. build-unified-json passes fields through unchanged, so dist/ai-models.json no longer exposes isDeprecated for these entries even though status is deprecated.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit f3af667. Configure here.

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.

2 participants