Enha: migrations with different emb tables

This commit is contained in:
Grail Finder
2025-11-24 10:44:12 +03:00
parent 4774ea48db
commit 3b64baf9eb
5 changed files with 123 additions and 54 deletions

View File

@@ -43,10 +43,7 @@ func New(l *slog.Logger, s storage.FullRepo, cfg *config.Config) *RAG {
storage: NewVectorStorage(l, s),
}
// Create the necessary tables
if err := rag.storage.CreateTables(); err != nil {
l.Error("failed to create vector tables", "error", err)
}
// Note: Vector tables are created via database migrations, not at runtime
return rag
}