Claude/add twitter reddit scraping 4 t on b#603
Open
edoardosanson wants to merge 5 commits into
Open
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.