TL;DR Add top-level `model_catalog_json` config support so users can supply a local model catalog override from a JSON file path (including adding new models) without backend changes. ### Problem Codex previously had no clean client-side way to replace/overlay model catalog data for local testing of model metadata and new model entries. ### Fix - Add top-level `model_catalog_json` config field (JSON file path). - Apply catalog entries when resolving `ModelInfo`: 1. Base resolved model metadata (remote/fallback) 2. Catalog overlay from `model_catalog_json` 3. Existing global top-level overrides (`model_context_window`, `model_supports_reasoning_summaries`, etc.) ### Note Will revisit per-field overrides in a follow-up ### Tests Added tests |
||
|---|---|---|
| .. | ||
| tool_handlers | ||
| codex_tool_config.rs | ||
| codex_tool_runner.rs | ||
| exec_approval.rs | ||
| lib.rs | ||
| main.rs | ||
| message_processor.rs | ||
| outgoing_message.rs | ||
| patch_approval.rs | ||