Ahmed Ibrahim
e614fad02e
[codex] Add comp_hash to model metadata ( #27532 )
...
## 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
- based directly on `main`
- replaces #27519 , which was accidentally merged into the wrong base
branch
- functionality follow-up: #27520
## 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`
2026-06-10 20:42:55 -07:00
..
2026-06-11 03:39:07 +00:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 14:21:28 +02:00
2026-03-27 19:00:44 -07:00
2026-05-27 11:09:33 -07:00
2026-06-09 20:51:57 +00:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-10 20:42:55 -07:00
2026-06-10 12:19:26 -07:00
2026-06-10 08:47:16 -07:00
2026-06-10 08:47:16 -07:00
2026-06-10 19:21:24 -07:00
2026-05-14 16:15:56 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-09 17:54:32 -07:00
2026-06-08 13:55:15 -07:00
2026-06-09 20:51:57 +00:00
2026-05-14 18:04:26 -07:00
2026-06-08 13:55:15 -07:00
2026-05-28 15:26:55 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-05-14 12:40:01 -07:00
2026-05-29 10:22:27 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-05-22 16:58:14 +00:00
2026-06-08 13:55:15 -07:00
2026-06-10 20:07:06 -07:00
2026-05-18 21:03:51 -07:00
2026-06-08 13:55:15 -07:00
2026-06-10 20:42:55 -07:00
2026-06-08 13:55:15 -07:00
2026-06-10 20:42:55 -07:00
2026-06-08 13:55:15 -07:00
2026-05-15 01:26:50 +00:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-02 12:10:14 +02:00
2026-06-10 20:42:55 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-04 12:43:07 -07:00
2026-06-08 13:55:15 -07:00
2026-06-09 17:54:32 -07:00
2026-06-08 13:55:15 -07:00
2026-06-10 20:42:55 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-05-19 14:45:37 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-06 01:01:20 +00:00
2026-06-04 13:36:24 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-10 20:42:55 -07:00
2026-06-01 04:33:20 +00:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-05-14 16:15:56 -07:00
2026-05-18 09:57:54 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-10 20:42:55 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-09 19:51:54 +02:00
2026-06-11 03:39:07 +00:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-03-11 12:33:09 -07:00
2026-06-08 13:55:15 -07:00
2026-06-09 15:10:17 -07:00
2026-06-01 23:33:42 +00:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-10 20:42:55 -07:00
2026-04-28 23:01:40 +00:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-03 15:33:34 -07:00