fleet-memory/hindsight-api/hindsight_api
Chris Bartholomew 6fe93140a7
Fix embedding dimension for tenant schemas (#135)
Call ensure_embedding_dimension after running migrations for tenant
schemas. This ensures the embedding column dimension matches the
model's dimension, which may differ from the default 384 dimensions
used in the initial migration.

Without this fix, using embedding providers with different dimensions
(e.g., Cohere's embed-english-v3.0 with 1024 dims) would fail with
"expected 384 dimensions, not 1024" errors on tenant schemas.
2026-01-08 22:48:25 +01:00
..
admin feat: run db migrations offline (optionally) (#114) 2026-01-07 15:49:51 +01:00
alembic misc: add mcp integration tests and increase test coverage (#98) 2026-01-05 11:16:55 +01:00
api Fix stats endpoint missing tenant authentication (#134) 2026-01-08 20:38:35 +01:00
engine feat: add configs for database connection (#128) 2026-01-08 16:37:08 +01:00
extensions Fix embedding dimension for tenant schemas (#135) 2026-01-08 22:48:25 +01:00
__init__.py feat: extensions (#54) 2025-12-22 11:05:23 +01:00
banner.py fix: doc build and lint files (#34) 2025-12-16 13:49:09 +01:00
config.py feat: add configs for database connection (#128) 2026-01-08 16:37:08 +01:00
daemon.py feat: refactor hindsight-embed architecture (#66) 2025-12-22 22:02:40 +01:00
main.py feat: add configs for database connection (#128) 2026-01-08 16:37:08 +01:00
mcp_local.py feat: extensions (#54) 2025-12-22 11:05:23 +01:00
metrics.py feat: add metrics for llm call latency (#120) 2026-01-08 11:40:34 +01:00
migrations.py feat: configurable embedding dimensions + OpenAI Embeddings (#101) 2026-01-05 14:43:05 +01:00
models.py feat: configurable embedding dimensions + OpenAI Embeddings (#101) 2026-01-05 14:43:05 +01:00
pg0.py feat: backup/restore (#110) 2026-01-07 11:29:50 +01:00
server.py fix: doc build and lint files (#34) 2025-12-16 13:49:09 +01:00