From 6ab895c2b4108fdb8321e45fa2f38f54c1c964fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Mon, 16 Sep 2024 11:12:41 +0200 Subject: [PATCH] fix: remove spammy log message when youtube tool not available --- gptme/tools/youtube.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/gptme/tools/youtube.py b/gptme/tools/youtube.py index 4ca7bddb..85b1ca4f 100644 --- a/gptme/tools/youtube.py +++ b/gptme/tools/youtube.py @@ -10,9 +10,6 @@ from youtube_transcript_api import YouTubeTranscriptApi # fmt: skip except ImportError: YouTubeTranscriptApi = None - logger.warning( - "youtube_transcript_api not available. YouTube tool will be disabled." - ) def get_transcript(video_id: str) -> str: