feat: add visualization functions for agent graphs
This commit is contained in:
parent
aff1d60ea1
commit
f7c594da08
2 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
import graphviz
|
import graphviz
|
||||||
|
|
||||||
from src.agents.agent import Agent
|
from agents import Agent
|
||||||
|
|
||||||
|
|
||||||
def get_main_graph(agent: Agent) -> str:
|
def get_main_graph(agent: Agent) -> str:
|
||||||
|
|
@ -3,8 +3,8 @@ from unittest.mock import Mock
|
||||||
import graphviz
|
import graphviz
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from src.agents.agent import Agent
|
from agents import Agent
|
||||||
from src.agents.visualizations import draw_graph, get_all_edges, get_all_nodes, get_main_graph
|
from agents.extensions.visualizations import draw_graph, get_all_edges, get_all_nodes, get_main_graph
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue