feat: complex example test passing

This commit is contained in:
Gabriel Almeida 2023-03-26 01:15:01 -03:00
commit 7dbda097f5
5 changed files with 39 additions and 27 deletions

View file

@ -281,3 +281,11 @@ def test_build():
agent = graph.build()
# The agent should be a AgentExecutor
assert isinstance(agent, AgentExecutor)
# Now we test the complex example
graph = get_graph(basic=False)
assert isinstance(graph, Graph)
# Now we test the build method
agent = graph.build()
# The agent should be a AgentExecutor
assert isinstance(agent, AgentExecutor)