feat(M3-007,M3-009): provider health check scheduler and Ollama embedding default #308

Merged
jason.woltje merged 1 commits from feat/m3-health-embedding into main 2026-03-21 21:30:16 +00:00

1 Commits

Author SHA1 Message Date
a33d11306e feat(M3-007,M3-009): add provider health check scheduler and refactor embedding service
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/pr/ci Pipeline failed
M3-007: Add periodic health check scheduler to ProviderService (configurable
via PROVIDER_HEALTH_INTERVAL env, default 60s) with cached status per adapter,
and expose GET /api/providers/health endpoint returning { providers: [...] }.

M3-009: Refactor EmbeddingService to default to Ollama (nomic-embed-text, 768
dims) with OpenAI-compatible fallback when EMBEDDING_PROVIDER=openai or
OPENAI_API_KEY is set; add dimension mismatch warning for pgvector schema.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 16:29:17 -05:00