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
|
||||
|
||||
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 a new issue