Skip to content

[codex] Add comp_hash to model metadata - #27532

Merged
aibrahim-oai merged 1 commit into
mainfrom
codex/add-comp-hash-model-info
Jun 11, 2026
Merged

[codex] Add comp_hash to model metadata#27532
aibrahim-oai merged 1 commit into
mainfrom
codex/add-comp-hash-model-info

Conversation

@aibrahim-oai

Copy link
Copy Markdown
Contributor

Summary

  • add optional comp_hash metadata to ModelInfo
  • update ModelInfo fixtures for the shared schema change
  • keep older model responses compatible by defaulting the field to None

Why

The models endpoint needs an opaque identifier for compaction-compatible model configurations. This PR only exposes that value in model metadata; it does not add it to turn context or change runtime behavior.

Follow-up #27520 carries the value through turn context and rollouts, then uses it to trigger compaction.

Stack

Testing

  • just test -p codex-protocol model_info_defaults_availability_nux_to_none_when_omitted
  • just fix -p codex-core -p codex-protocol -p codex-analytics -p codex-models-manager

@aibrahim-oai

Copy link
Copy Markdown
Contributor Author

@codex review

@aibrahim-oai
aibrahim-oai merged commit e614fad into main Jun 11, 2026
29 checks passed
@aibrahim-oai
aibrahim-oai deleted the codex/add-comp-hash-model-info branch June 11, 2026 03:42
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant