Fix CF-271: Add fallback text search to archive_search

When LiteLLM embedding service is unavailable, archive_search now gracefully falls back to PostgreSQL text search (ILIKE) instead of returning an error. Also adds dotenv support for proper credential loading.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Christian Gick
2026-01-19 13:14:29 +02:00
parent 1231835e02
commit 6c497ec6c5
6 changed files with 87 additions and 7 deletions

View File

@@ -12,12 +12,13 @@
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.0.4",
"dotenv": "^17.2.3",
"pg": "^8.11.3"
},
"devDependencies": {
"@types/node": "^20.11.0",
"@types/pg": "^8.10.9",
"typescript": "^5.3.3",
"tsx": "^4.7.0"
"tsx": "^4.7.0",
"typescript": "^5.3.3"
}
}