mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-09-20 00:11:37 +00:00
- Add https://gitnexus.vercel.app to CORS allowed origins so the deployed site can connect to the local backend server. - Replace naive createHttpTextSearch (substring matching via Cypher) with createHttpHybridSearch that calls /api/search for full BM25 + semantic + RRF hybrid search on the server. - Set isEmbeddingReady to false in backend mode (no local embedder), which also fixes {{QUERY_VECTOR}} handling — the existing error path in tools.ts now correctly returns a helpful message. - Set isBM25Ready to true (available via server's hybrid search). - Removes the Cypher injection bug (wrong escape char) since the function that contained it was replaced entirely. |
||
|---|---|---|
| .. | ||
| api.ts | ||