Skip to content
Snippets Groups Projects
Unverified Commit b7721f50 authored by Siraj R Aizlewood's avatar Siraj R Aizlewood
Browse files

Fix for case when no LLM in config dict.

parent 59600647
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ class LayerConfig:
routes = []
for route_data in layer["routes"]:
# Handle the 'llm' field specially if it exists
if "llm" in route_data:
if "llm" in route_data and route_data["llm"] is not None:
llm_data = route_data.pop(
"llm"
) # Remove 'llm' from route_data and handle it separately
......
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