Skip to content

Claude/add twitter reddit scraping 4 t on b#603

Open
edoardosanson wants to merge 5 commits into
virattt:mainfrom
edoardosanson:claude/add-twitter-reddit-scraping-4TOnB
Open

Claude/add twitter reddit scraping 4 t on b#603
edoardosanson wants to merge 5 commits into
virattt:mainfrom
edoardosanson:claude/add-twitter-reddit-scraping-4TOnB

Conversation

@edoardosanson

Copy link
Copy Markdown

No description provided.

edoardosanson and others added 5 commits April 27, 2026 23:33
The news_sentiment_agent now aggregates signals from three sources instead of
news alone: company news (Financial Datasets API), recent Reddit posts (public
JSON search endpoint, no auth required), and recent tweets (Twitter API v2,
optional bearer token).

- Add SocialMediaPost model and social_posts cache slot
- Add get_reddit_posts() and get_twitter_posts() in tools/api.py with graceful
  degradation (Twitter is skipped when TWITTER_BEARER_TOKEN is not configured)
- Extend news_sentiment_agent to fetch from all three sources, classify items
  without sentiment via the existing LLM Sentiment model, and report a
  per-source breakdown in the reasoning payload
- Document REDDIT_USER_AGENT and TWITTER_BEARER_TOKEN in .env.example

https://claude.ai/code/session_01Rzco5WzdUYUyQWp56dmC25
Tradotti in italiano i contenuti aggiunti nei file modificati dalla feature
di scraping Reddit/Twitter: docstring, commenti inline, messaggi del progress
tracker, prompt LLM e chiavi del payload di reasoning. Nessuna modifica
funzionale: i campi pubblici "signal", "confidence" e "reasoning" del
risultato dell'agente restano invariati (consumati dagli agenti a valle).

https://claude.ai/code/session_01Rzco5WzdUYUyQWp56dmC25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants