From adff456daf50e54034c4da23e4b631ab4d428d5c Mon Sep 17 00:00:00 2001 From: Paul Kompfner Date: Mon, 28 Jul 2025 10:09:23 -0400 Subject: [PATCH] Progress on LLM failover support --- src/pipecat/processors/aggregators/llm_context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pipecat/processors/aggregators/llm_context.py b/src/pipecat/processors/aggregators/llm_context.py index fb3957872..5087c1fed 100644 --- a/src/pipecat/processors/aggregators/llm_context.py +++ b/src/pipecat/processors/aggregators/llm_context.py @@ -124,8 +124,8 @@ class LLMContext: Args: tools: List of tools available to the LLM, a ToolsSchema, or NOT_GIVEN to disable tools. """ - # TODO: convert empty ToolsSchema to NOT_GIVEN if needed - # TODO: maybe also convert non-ToolsSchema tools to ToolsSchema? See open_ai_adapter.py for related comment + # TODO: convert empty ToolsSchema to NOT_GIVEN if needed? + # TODO: maybe someday also convert provider-specific tools to ToolsSchema so it's always in a provider-neutral format here? See open_ai_adapter.py for related comment. Pipecat Flows is currently converting provider-specific tools to ToolsSchema... if isinstance(tools, list) and len(tools) == 0: tools = NOT_GIVEN self._tools = tools