From add15325bb5a603f7dd41ab9b8d7bd71f8d9151e Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Mon, 1 Jun 2026 21:59:50 +0000 Subject: [PATCH] openai-compat: tolerate legacy date-suffixed model names during transition --- app/main.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/main.py b/app/main.py index 3095f19..7ceb3c0 100644 --- a/app/main.py +++ b/app/main.py @@ -32,6 +32,12 @@ SUPPORTED_MODELS: frozenset[str] = frozenset({ "haiku", "sonnet", "opus", + # Legacy date-suffixed forms — kept for callers that pinned before the + # 2026-06-01 bare-aliases switch (fire-planner < c1c1e22). Drop these + # once all consumers have been re-imaged. + "claude-haiku-4-5", + "claude-sonnet-4-6", + "claude-opus-4-7", }) DEFAULT_MODEL = "sonnet" OPENAI_COMPAT_AGENT = "recruiter-triage"