Update src/pipecat/services/mcp_service.py
Co-authored-by: Vanessa Pyne <vipyne@gmail.com>
This commit is contained in:
@@ -281,7 +281,7 @@ class MCPClient(BaseObject):
|
|||||||
logger.debug(f"Final response (after filter): {response}")
|
logger.debug(f"Final response (after filter): {response}")
|
||||||
|
|
||||||
except Exception:
|
except Exception:
|
||||||
logger.error("Error applying output filter")
|
logger.error(f"Error applying output filter for {function_name}")
|
||||||
response = ""
|
response = ""
|
||||||
|
|
||||||
if response and len(response) and isinstance(response, str):
|
if response and len(response) and isinstance(response, str):
|
||||||
|
|||||||
Reference in New Issue
Block a user