Skip to content

100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.

Fix: Correct environment variable name for ElevenLabs API

abhaysingh11229391a64a8b9b
diff --git a/starter_ai_agents/ai_blog_to_podcast_agent/blog_to_podcast_agent.py b/starter_ai_agents/ai_blog_to_podcast_agent/blog_to_podcast_agent.py
index 1947967a..cf6620b0 100644
--- a/starter_ai_agents/ai_blog_to_podcast_agent/blog_to_podcast_agent.py
+++ b/starter_ai_agents/ai_blog_to_podcast_agent/blog_to_podcast_agent.py
@@ -38,7 +38,7 @@ if generate_button:
else:
# Set API keys as environment variables for Agno and Tools
os.environ["OPENAI_API_KEY"] = openai_api_key
- os.environ["ELEVENLABS_API_KEY"] = elevenlabs_api_key
+ os.environ["ELEVEN_LABS_API_KEY"] = elevenlabs_api_key
os.environ["FIRECRAWL_API_KEY"] = firecrawl_api_key
with st.spinner("Processing... Scraping blog, summarizing and generating podcast 🎶"):