Add Face model fallback chain

This commit is contained in:
Meta Vens 2026-05-21 18:53:21 +01:00
commit 8de9c3c3e0
6 changed files with 80 additions and 11 deletions

View file

@ -745,6 +745,9 @@ function repoFaceHeartbeatCodexOptions(job: JobRecord): Record<string, string> {
return {
...(config.repoFaceHeartbeats.codexModel ? { model: config.repoFaceHeartbeats.codexModel } : {}),
...(config.repoFaceHeartbeats.codexModels.length > 0
? { models: config.repoFaceHeartbeats.codexModels.join(",") }
: {}),
...(config.repoFaceHeartbeats.codexModelReasoningEffort
? { reasoningEffort: config.repoFaceHeartbeats.codexModelReasoningEffort }
: {}),