Skip to content

Commit a4e1853

Browse files
Merge pull request #371 from whiteducksoftware/fix/join-spec-graph
Fix JoinSpec graph visualization
2 parents 13b24cd + 97a1d33 commit a4e1853

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "flock-core"
3-
version = "0.5.311"
3+
version = "0.5.312"
44
description = "Flock: A declrative framework for building and orchestrating AI agents."
55
readme = "README.md"
66
requires-python = ">=3.12"

src/flock/api/graph_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ def _build_pending_join_edges(
480480
start_counter: int,
481481
) -> list[GraphEdge]:
482482
"""Build pending edges for JoinSpec correlation groups."""
483-
from flock.dashboard.routes.helpers import _get_correlation_groups
483+
from flock.components.server.control.helpers import _get_correlation_groups
484484

485485
edges: list[GraphEdge] = []
486486
correlation_groups = _get_correlation_groups(
@@ -555,7 +555,7 @@ def _build_pending_batch_edges(
555555
start_counter: int,
556556
) -> list[GraphEdge]:
557557
"""Build pending edges for BatchSpec accumulation."""
558-
from flock.dashboard.routes.helpers import _get_batch_state
558+
from flock.components.server.control.helpers import _get_batch_state
559559

560560
edges: list[GraphEdge] = []
561561
batch_state = _get_batch_state(
@@ -835,7 +835,7 @@ def _build_logic_config_for_subscription(self, agent, subscription, idx):
835835
}
836836

837837
# Phase 1.2.1: Get waiting state from CorrelationEngine
838-
from flock.dashboard.routes.helpers import _get_correlation_groups
838+
from flock.components.server.control.helpers import _get_correlation_groups
839839

840840
correlation_groups = _get_correlation_groups(
841841
self._orchestrator._correlation_engine, agent.name, idx
@@ -868,7 +868,7 @@ def _build_logic_config_for_subscription(self, agent, subscription, idx):
868868
)
869869

870870
# Phase 1.2.1: Get waiting state from BatchEngine
871-
from flock.dashboard.routes.helpers import _get_batch_state
871+
from flock.components.server.control.helpers import _get_batch_state
872872

873873
batch_state = _get_batch_state(
874874
self._orchestrator._batch_engine, agent.name, idx, batch_spec

0 commit comments

Comments
 (0)