This skill allows the agent to fetch the daily top news headlines from BBC News Tiếng Việt sources by running a Python script.
The agent must treat the script output as verified headline data and avoid modifying the factual content.
When the user asks for latest news or trending global events:
conda directly (which may not be in the PATH), use the explicit path to the environment's python interpreter. Run the script by calling the python executable located inside the global_venv directory to ensure all dependencies are loaded correctly:
```bash
$(which conda || echo "/opt/conda/bin/conda" || echo "$HOME/miniconda3/bin/conda") run -n global_venv python "{baseDir}/daily_news.py"
```
```bash
{path_to_conda_envs}/global_venv/bin/python "{baseDir}/daily_news.py"
```
Ensure you have the required Python packages installed:
conda activate global_venv
pip install -r "{baseDir}/requirements.txt"
共 1 个版本