jairo/SmolNews
6
SmolNews: News and Time Agent
- Top 5 headlines, smol news but with a twist.
A Gradio-based web application that combines news fetching and timezone capabilities using the smolagents framework.
Features
- News Search: Fetch top 5 news articles for any location using Google News RSS feed
- Timezone Information: Get current local time for any timezone
- Interactive Interface: Built with Gradio for easy interaction
Technical Stack
- Framework: smolagents
- Model: Qwen2.5-Coder-32B-Instruct
- UI: Gradio
- Key Dependencies:
- smolagents (agent framework)
Tools
The agent comes with several built-in tools:
get_news_from_place: Fetches and formats top 5 news articles for a specified locationget_current_time_in_timezone: Retrieves current local time for any timezoneFinalAnswerTool: Provides final responses to user queries
Configuration
The agent is configured with:
- Maximum 6 steps per interaction
- Temperature: 0.5
- Max tokens: 2096
- Custom prompt templates (loaded from prompts.yaml)
Getting Started
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
