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)}", )