From 12064bd6e626070e7551ce06a58a95e7442456db Mon Sep 17 00:00:00 2001 From: Paul Kompfner Date: Tue, 19 Aug 2025 10:45:12 -0400 Subject: [PATCH] Add a bit of helpful info in an error message --- src/pipecat/processors/aggregators/llm_context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipecat/processors/aggregators/llm_context.py b/src/pipecat/processors/aggregators/llm_context.py index 2ac990bf3..7b37f7e4d 100644 --- a/src/pipecat/processors/aggregators/llm_context.py +++ b/src/pipecat/processors/aggregators/llm_context.py @@ -274,5 +274,5 @@ class LLMContext: return NOT_GIVEN else: raise TypeError( - "In LLMContext, tools must be a ToolsSchema object or NOT_GIVEN.", + f"In LLMContext, tools must be a ToolsSchema object or NOT_GIVEN. Got type: {type(tools)}", )