100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
Fix GTM email campaign success-report and journalist agno 2.x Team API
thejesh23a7042521f1a9
diff --git a/advanced_ai_agents/single_agent_apps/ai_email_gtm_reachout_agent/ai_email_gtm_reachout.py b/advanced_ai_agents/single_agent_apps/ai_email_gtm_reachout_agent/ai_email_gtm_reachout.pyindex 2c8fb60a..3daa8643 100644--- a/advanced_ai_agents/single_agent_apps/ai_email_gtm_reachout_agent/ai_email_gtm_reachout.py+++ b/advanced_ai_agents/single_agent_apps/ai_email_gtm_reachout_agent/ai_email_gtm_reachout.py@@ -866,7 +866,7 @@ def main():use_cache=True):# Update progress bar and status- if 'progress' in result:+ if 'email' not in result:progress_bar.progress(result['progress'])status_text.text(f"🔄 {result['status']} - {result['step']}")else:diff --git a/advanced_ai_agents/single_agent_apps/ai_journalist_agent/journalist_agent.py b/advanced_ai_agents/single_agent_apps/ai_journalist_agent/journalist_agent.pyindex cbb4df89..bf2fd610 100644--- a/advanced_ai_agents/single_agent_apps/ai_journalist_agent/journalist_agent.py+++ b/advanced_ai_agents/single_agent_apps/ai_journalist_agent/journalist_agent.py@@ -1,6 +1,7 @@# Import the required librariesfrom textwrap import dedentfrom agno.agent import Agent+from agno.team import Teamfrom agno.run.agent import RunOutputfrom agno.tools.serpapi import SerpApiToolsfrom agno.tools.newspaper4k import Newspaper4kTools@@ -63,10 +64,10 @@ if openai_api_key and serp_api_key:markdown=True,)- editor = Agent(+ editor = Team(name="Editor",model=OpenAIChat(id="gpt-4o", api_key=openai_api_key),- team=[searcher, writer],+ members=[searcher, writer],description="You are a senior NYT editor. Given a topic, your goal is to write a NYT worthy article.",instructions=["Given a topic, ask the search journalist to search for the most relevant URLs for that topic.",