mirror of
https://github.com/openai/codex.git
synced 2026-10-20 00:18:49 +00:00
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:
@@ -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
Reference in New Issue
Block a user