Codex P2 follow-up on PR #5684 (providers.py:104): the new OpenAI denylist only stripped the modern `-YYYY-MM-DD` dated form, so legacy compact snapshots like `gpt-3.5-turbo-0125`, `gpt-4-0613`, `gpt-4-1106-preview`, and `gpt-4-0125-preview` slipped through. The listing returns both the snapshot and the canonical id; the picker should surface only the canonical so users do not accidentally select a deprecated snapshot. Extends the dated-suffix branch with `-\d{4}(?:-preview)?$` to cover the compact `MMDD` form and the `-MMDD-preview` variant. The new rule is anchored to the end of the id so canonical chat ids whose minor version happens to be a year-like number (`gpt-4.5`, `gpt-5.5`, `o3`) are unaffected. Added `test_openai_legacy_compact_snapshot_suffixes_are_dropped` to pin both sides (8 snapshot ids dropped, 7 canonical ids kept). 10 / 10 filter tests pass locally. |
||
|---|---|---|
| .. | ||
| assets | ||
| auth | ||
| core | ||
| loggers | ||
| models | ||
| plugins | ||
| requirements | ||
| routes | ||
| state | ||
| storage | ||
| tests | ||
| utils | ||
| __init__.py | ||
| _platform_compat.py | ||
| colab.py | ||
| main.py | ||
| run.py | ||
| startup_banner.py | ||