fix patch search feat/phase-2g-bundle
AI Agent git-import/068377df · 108 days ago · Apr 9, 2026 · Diff

fix(search): clarify Meaning search failures when embedding fetch fails

Meaning search calls Ollama/OpenAI via Node fetch; connection errors surface as opaque 'fetch failed'. Wrap fetch in embed paths with formatEmbeddingFetchFailure() so POST /api/v1/search returns actionable guidance (ollama serve, pull model, OLLAMA_URL/127.0.0.1 vs localhost, or OpenAI).

Tests: test/embedding-fetch-failure-message.test.mjs

sha256:0eee2253beaf64eb5e114a27ceb9d4eeded84485c7476be64d9b8d0ca0bee0cb sha
sha256:e407b036cb0e254cb4ad764f2d30be6b616ba63e45fc18fb675d69c5852683db snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:0eee2253beaf64eb5e114a27ceb9d4eeded84485c7476be64d9b8d0ca0bee0cb --body "your comment"