feat: complex example test passing
This commit is contained in:
parent
f70f9339a2
commit
7dbda097f5
5 changed files with 39 additions and 27 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue