Skip to content

A curated collection of practical AI projects implementing OCR systems, RAG, AI agents, and other AI use cases.

fix(daily-news-digest): remove unresolved merge conflict markers

Rudy Celekli8dd0dd588593
diff --git a/ai_agents/daily-news-digest/.env.example b/ai_agents/daily-news-digest/.env.example
index 6a7ed71..4c5ab88 100644
--- a/ai_agents/daily-news-digest/.env.example
+++ b/ai_agents/daily-news-digest/.env.example
@@ -1,7 +1,3 @@
-<<<<<<< HEAD
-MINIMAX_API_KEY=your_minimax_api_key_here
-TELEGRAM_BOT_TOKEN=your_telegram_bot_token_here
-=======
# MiniMax API key used to score and rank articles by significance.
# Get one at https://platform.minimax.io
MINIMAX_API_KEY=your_minimax_api_key_here
@@ -11,5 +7,4 @@ MINIMAX_API_KEY=your_minimax_api_key_here
TELEGRAM_BOT_TOKEN=your_telegram_bot_token_here
# ID of the Telegram chat or channel the digest should be delivered to.
->>>>>>> 1d1e9f137cfd1123edbae5d8e955ce0b9c7fcf4a
TELEGRAM_CHAT_ID=your_telegram_chat_id_here
diff --git a/ai_agents/daily-news-digest/skill.py b/ai_agents/daily-news-digest/skill.py
index 3663543..fc8b55e 100644
--- a/ai_agents/daily-news-digest/skill.py
+++ b/ai_agents/daily-news-digest/skill.py
@@ -175,11 +175,7 @@ for article in selected:
cat = article.get("category", "Notable")
grouped.setdefault(cat, []).append(article)
-<<<<<<< HEAD
-message_parts = [f"🗞️ *Daily AI Digest — {today}*"]
-=======
message_parts = [f"🗞️ *Daily AI Digest: {today}*"]
->>>>>>> 1d1e9f137cfd1123edbae5d8e955ce0b9c7fcf4a
for cat in CATEGORY_ORDER:
if cat not in grouped:
@@ -193,11 +189,7 @@ for cat in CATEGORY_ORDER:
source = art["source"]
url = art["url"]
message_parts.append(
-<<<<<<< HEAD
- f"{emoji} *{title}* — {summary}\n"
-=======
f"{emoji} *{title}*: {summary}\n"
->>>>>>> 1d1e9f137cfd1123edbae5d8e955ce0b9c7fcf4a
f"Source: {source} | [Read more]({url})"
)