Skip to content

Model Catalog Check #52

Model Catalog Check

Model Catalog Check #52

name: Model Catalog Check
on:
push:
branches:
- main
schedule:
- cron: "0 6 * * *"
workflow_dispatch: {}
jobs:
check:
name: Declared model ids resolve in the live catalog
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
- run: npm ci
- name: Check declared model ids against /v1/models
env:
POE_API_KEY: ${{ secrets.POE_API_KEY }}
run: npx tsx scripts/check-model-catalog.ts