Hey team,
Im trying to create a custom YoutubeChannelSearchTool by passing custom model and embeddings ![]()
yt_tool = YoutubeChannelSearchTool(
youtube_channel_handle="https://www.youtube.com/channel/lets-say-some-channel-id", config=dict( llm=dict( provider="groq", config=dict( model="gemma2-9b-it", ), ), embedder=dict( provider="huggingface", config=dict( model="sentence-transformers/all-MiniLM-L6-v2", ), ), ))
But I get this error again and again
1 validation error for YoutubeChannelSearchTool
Value error, The OPENAI_API_KEY environment variable is not set. [type=value_error, input_value={‘llm’: ChatGroq(profile=…e, show_progress=False)}, input_type=dict]
Why does it want OPENAI api key when Im telling it to use the provided models and embeddings. ![]()