From 672e62fdd04deea7dca773f845a4d7455a16ab2b Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Wed, 4 Mar 2026 14:27:02 +0000 Subject: [PATCH] llama special case in joke demo --- trustgraph-flow/trustgraph/tool_service/joke/service.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trustgraph-flow/trustgraph/tool_service/joke/service.py b/trustgraph-flow/trustgraph/tool_service/joke/service.py index c1221f3f..d9b7cde0 100644 --- a/trustgraph-flow/trustgraph/tool_service/joke/service.py +++ b/trustgraph-flow/trustgraph/tool_service/joke/service.py @@ -164,7 +164,9 @@ class Processor(DynamicToolService): # Map topic to our categories if "program" in topic or "code" in topic or "computer" in topic or "software" in topic: category = "programming" - elif "animal" in topic or "dog" in topic or "cat" in topic or "bird" in topic or "llama" in topic: + elif "llama" in topic: + category = "llama" + elif "animal" in topic or "dog" in topic or "cat" in topic or "bird" in topic: category = "animals" elif "food" in topic or "eat" in topic or "cook" in topic or "drink" in topic: category = "food"