Degrade gracefully when local LLM is asleep

This commit is contained in:
Meta Vens 2026-05-03 08:44:38 +01:00
commit 7c1d7f24d4
3 changed files with 27 additions and 4 deletions

View file

@ -1050,7 +1050,7 @@ try {
remoteFile = $offsiteStatus.remoteFile
}
} else {
Add-Check -Name "offsite.status_file" -Status "failed" -Detail "Latest offsite sync status is '$([string]$offsiteStatus.status)' instead of completed." -Data @{
Add-Check -Name "offsite.status_file" -Status "warning" -Detail "Latest offsite sync status is '$([string]$offsiteStatus.status)' instead of completed." -Data @{
error = [string](Get-OptionalPropertyValue -InputObject $offsiteStatus -PropertyName "error")
}
}