mirror of https://github.com/aliasrobotics/cai.git
feat: add visualization functions for agent graphs
This commit is contained in:
parent
dba2d4bd23
commit
c7805669bc
|
|
@ -1,6 +1,6 @@
|
|||
import graphviz
|
||||
|
||||
from src.agents.agent import Agent
|
||||
from agents import Agent
|
||||
|
||||
|
||||
def get_main_graph(agent: Agent) -> str:
|
||||
|
|
@ -3,8 +3,8 @@ from unittest.mock import Mock
|
|||
import graphviz
|
||||
import pytest
|
||||
|
||||
from src.agents.agent import Agent
|
||||
from src.agents.visualizations import draw_graph, get_all_edges, get_all_nodes, get_main_graph
|
||||
from agents import Agent
|
||||
from agents.extensions.visualizations import draw_graph, get_all_edges, get_all_nodes, get_main_graph
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
|
|
|||
Loading…
Reference in New Issue