Exclude base instructions from the bundled model catalog (#43604)

## What changed

Remove `base_instructions` from `codex-rs/models-manager/models.json` and filter out the field in the `rust-release-prepare` workflow so automated catalog updates keep it excluded.

GitOrigin-RevId: 711d43c21a90aadc98e5622b8c24847bc4642c83
This commit is contained in:
rhan-oai
2026-09-07 22:11:52 +00:00
committed by copyberry
parent 7d2c58e6e0
commit 8e694e955a
2 changed files with 11 additions and 21 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ jobs:
)
url="${base_url%/}/models?client_version=${client_version}"
curl --http1.1 --fail --show-error --location "${headers[@]}" "${url}" | jq '.' > codex-rs/models-manager/models.json
curl --http1.1 --fail --show-error --location "${headers[@]}" "${url}" | jq 'del(.models[].base_instructions)' > codex-rs/models-manager/models.json
- name: Open pull request (if changed)
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
File diff suppressed because one or more lines are too long