Skip to content
Snippets Groups Projects
Unverified Commit 3c3dce4c authored by James Briggs's avatar James Briggs
Browse files

update test for ValueError in missing LLM

parent 0696edcf
No related branches found
No related tags found
No related merge requests found
...@@ -71,10 +71,7 @@ class TestRoute: ...@@ -71,10 +71,7 @@ class TestRoute:
function_schema=function_schema, function_schema=function_schema,
) )
with pytest.raises( with pytest.raises(ValueError):
ValueError,
match="LLM is required for dynamic routes. Please ensure the 'llm' is set.",
):
route("test_query") route("test_query")
def test_generate_dynamic_route(self): def test_generate_dynamic_route(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment