Update ai_news_article_writer.py - Issue 154

encountered an issue with the AI News Writer feature. The system successfully generates a news report (as indicated by the success message), but the actual content is not displayed in the UI.

Steps to Reproduce:

Open Alwrity and navigate to AI Writers.
Select Write News Reports.
Enter keywords (e.g., Upcoming AI Trends in 2025).
Select an origin country (e.g., India) and language (e.g., English).
Click Generate News Report.
This commit is contained in:
ي
2025-02-13 13:19:13 +05:30
committed by GitHub
parent f1af927bd6
commit 6922e5f85f

View File

@@ -41,6 +41,7 @@ def ai_news_generation(news_keywords, news_country, news_language):
except Exception as err:
logger.error(f"Failed in Google News web research: {err}")
logger.info("\n######### Draft1: Finished News article from Google web search: ###########\n\n")
return blog_markdown_str
def write_news_google_search(news_keywords, news_country, news_language, search_results):