Skip to content

Add model-sync script that updates the current model list with the AI-SDKs list#2126

Draft
bigfluffycookie wants to merge 21 commits intomainfrom
lb/models
Draft

Add model-sync script that updates the current model list with the AI-SDKs list#2126
bigfluffycookie wants to merge 21 commits intomainfrom
lb/models

Conversation

@bigfluffycookie
Copy link
Contributor

@bigfluffycookie bigfluffycookie commented Mar 13, 2026

Fixes OPS-3907

Example PR:

@linear
Copy link

linear bot commented Mar 13, 2026

* GitHub: https://github.com/anomalyco/models.dev
*
* Usage:
* npx tsx sync-models.ts # Check for differences
Copy link
Contributor Author

Choose a reason for hiding this comment

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

for manual checking

AiProviderEnum.OPENAI_COMPATIBLE,
];

describe('sync-models.ts provider mapping', () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this test is mostly to ensure that whenever a new provider is added, we get notified by the fact that the sync-models list was not updated


on:
schedule:
- cron: '0 12 * * 1'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

might be too frequent? we can reduce it to monthly, and whenever we have a new model we want we can run it manually

@bigfluffycookie bigfluffycookie changed the title Add github action to update model list dynamically Add model-sync script that updates the current model list with the AI-SDKs list Mar 14, 2026
@sonarqubecloud
Copy link

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