unsloth/studio/backend/core
Daniel Han f5ace8824c fix(openai): drop legacy MMDD snapshot suffixes from picker
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.
2026-05-23 18:33:27 +00:00
..
data_recipe chore(deps): bump the npm-oxc-validator group across 1 directory with 2 updates (#5667) 2026-05-22 04:46:20 -07:00
export feat(studio): MLX training tab on Apple Silicon (LoRA / full FT, VLM, export) (#5265) 2026-05-05 23:54:58 -07:00
inference fix(openai): drop legacy MMDD snapshot suffixes from picker 2026-05-23 18:33:27 +00:00
training studio: install flash-linear-attention and tilelang for Qwen3.5 family (#5434) 2026-05-18 03:49:06 -07:00
__init__.py [Studio] Show non exported models in chat UI (#4892) 2026-04-14 15:03:58 +04:00
tool_healing.py studio: extract tool-call XML parser into a reusable helper module (#5583) 2026-05-19 05:06:17 -07:00