openvibers/openvibe.vision Commits

Readiness: a configured AI is ok (on demand), not a failure

OP OpenVibers committed 16 days ago · 15bd3346a4 · 1 file, +1 −1


Changes

ddiff --git a/server/observability.js b/server/observability.js
iindex f7ccb3c..b9483de 100644
---- a/server/observability.js
++++ b/server/observability.js
@@@ -32,7 +32,7 @@ function createServiceReadiness({ s, config, valkey = null, release = null, ai =
},
},
{ name: 'oauth_client', required: false, check: () => (config.oauth.clientSecret ? true : 'OV_OAUTH_CLIENT_SECRET unset: sign-in and AI calls cannot complete') },
-- { name: 'ai', required: false, check: () => (ai && ai.enabled ? 'AI is configured on demand; a run is only made when a local engine cannot answer' : 'OpenVibe.AI is not configured: local OCR and the UI check still serve') },
++ { name: 'ai', required: false, check: () => (ai && ai.enabled ? { ok: true, detail: { mode: 'on demand: a run is made only when a local engine cannot answer' } } : 'OpenVibe.AI is not configured: local OCR and the UI check still serve') },
{
name: 'local_ocr', required: false,
check: async () => {