mirror of
https://github.com/unslothai/unsloth.git
synced 2026-05-20 00:51:36 +00:00
chore: hide dated openai models in provider select
This commit is contained in:
parent
1e98b384e6
commit
048d73bf0d
1 changed files with 2 additions and 0 deletions
|
|
@ -33,6 +33,8 @@ PROVIDER_REGISTRY: dict[str, dict[str, Any]] = {
|
|||
# never want to surface in the chat UI. Filtering here so backend
|
||||
# is the single source of truth.
|
||||
"model_id_allowlist": re.compile(r"^(gpt-5\.[345]|gpt-4\.5|o3)(?:[-.]|$)"),
|
||||
# Hide dated snapshots
|
||||
"model_id_denylist": re.compile(r"-\d{4}-\d{2}-\d{2}$"),
|
||||
},
|
||||
"anthropic": {
|
||||
"display_name": "Anthropic",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue