Skip to content

Commit b3edac8

Browse files
royismeCopilot
andauthored
Update src/codebase_rag/services/knowledge/neo4j_knowledge_service.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d60e1bf commit b3edac8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/codebase_rag/services/knowledge/neo4j_knowledge_service.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,10 @@ async def _run_ingestion_pipeline(
316316
timeout: Optional[int] = None,
317317
) -> Dict[str, Any]:
318318
if pipeline_name not in self._pipeline_bundles:
319-
raise ValueError(f"Pipeline '{pipeline_name}' is not configured")
320-
319+
available_pipelines = ", ".join(self._pipeline_bundles.keys())
320+
raise ValueError(
321+
f"Pipeline '{pipeline_name}' is not configured. Available pipelines: {available_pipelines}"
322+
)
321323
bundle = self._pipeline_bundles[pipeline_name]
322324
connector = bundle.instantiate_connector(**connector_overrides)
323325

0 commit comments

Comments
 (0)