Skip to content

Commit

Permalink
fix to graph config
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasilije1990 committed Jun 10, 2024
1 parent c9b2a06 commit 91864dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cognee/api/v1/cognify/cognify.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ async def process_batch(files_batch):

for (dataset_name, files) in dataset_files:
for file_metadata in files:
from cognee.infrastructure.databases.graph.config import get_graph_config
graph_config = get_graph_config()
graph_topology = graph_config.graph_model

if graph_topology == SourceCodeGraph:
Expand Down

0 comments on commit 91864dc

Please sign in to comment.