Skip to content

Commit 5af6210

Browse files
phernandezclaude
andcommitted
fix: update error message in search_repository_base to reference semantic extras
Address PR review feedback — the SemanticDependenciesMissingError in _assert_semantic_available() now mentions `pip install 'basic-memory[semantic]'` for consistency with all other error messages. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: phernandez <paul@basicmachines.co>
1 parent 030158a commit 5af6210

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/basic_memory/repository/search_repository_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,8 @@ def _assert_semantic_available(self) -> None:
353353
if self._embedding_provider is None:
354354
raise SemanticDependenciesMissingError(
355355
"No embedding provider configured. "
356-
"Ensure semantic_search_enabled is true in your config."
356+
"Install semantic extras: pip install 'basic-memory[semantic]' "
357+
"and set semantic_search_enabled=true."
357358
)
358359

359360
def _compose_row_source_text(self, row) -> str:

0 commit comments

Comments
 (0)