diff --git a/.github/workflows/scrape.yml b/.github/workflows/scrape.yml index 74cf35c..94521ec 100644 --- a/.github/workflows/scrape.yml +++ b/.github/workflows/scrape.yml @@ -25,7 +25,7 @@ jobs: - name: Scrape run: | export FILEPATH="openai/api/models.txt" - curl https://api.openai.com/v1/models -H "Authorization: Bearer ${{ secrets.OPENAI_API_KEY }}" | jq -r '.data | .[] | .root' | sort -n > ${FILEPATH} + curl https://api.openai.com/v1/models -H "Authorization: Bearer ${{ secrets.OPENAI_API_KEY }}" | jq -r '.data | .[] | .id' | sort -n > ${FILEPATH} - name: Commit and push run: |-