openai-compat: tolerate legacy date-suffixed model names during transition
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
1132777705
commit
add15325bb
1 changed files with 6 additions and 0 deletions
|
|
@ -32,6 +32,12 @@ SUPPORTED_MODELS: frozenset[str] = frozenset({
|
||||||
"haiku",
|
"haiku",
|
||||||
"sonnet",
|
"sonnet",
|
||||||
"opus",
|
"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"
|
DEFAULT_MODEL = "sonnet"
|
||||||
OPENAI_COMPAT_AGENT = "recruiter-triage"
|
OPENAI_COMPAT_AGENT = "recruiter-triage"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue