mirror of
https://github.com/AJaySi/ALwrity.git
synced 2026-04-25 08:55:58 +03:00
[GH-ISSUE #154] AI News Writer Successfully Generates Content but Does Not Display It #114
Labels
No labels
AI Content Agents
AI Content Strategy
AI Content planning
AI Marketing Tools
AI SEO
AI personalization
AI writer
ALwrity Copi-lot
Alwrity web search
Anthropic
DeepSeek
Gemini AI
Integration
LLM
OnBoarding
OnBoarding
RAG knowledgebase Memory
bug
documentation
enhancement
good first issue
help wanted
invalid
openai
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ALwrity#114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @uniqueumesh on GitHub (Feb 12, 2025).
Original GitHub issue: https://github.com/AJaySi/ALwrity/issues/154
Originally assigned to: @uniqueumesh on GitHub.
Hello @AJaySi ,
I 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:
A success message appears:
Expected Behavior:
Actual Behavior:
Debugging Information from CLI Logs:
I checked the command-line logs, and it confirms that the AI News Writer is successfully fetching and generating content.
This suggests that the backend is working fine, but the frontend might not be rendering the output properly.
Screenshots for Reference:
UI Issue (Content Not Displayed):
CLI Output (Shows Successful Generation):
Could you please look into this? Let me know if you need any additional details.
Thank you! 🙏
@uniqueumesh commented on GitHub (Feb 12, 2025):
The AI News Writer tool on alwrity.com is failing to generate news reports. When attempting to fetch articles from Google News, the system returns a 403 Unauthorized error, preventing the report generation process.
Environment Details
Here is the screenshot reference:
@AJaySi commented on GitHub (Feb 13, 2025):
@uniqueumesh
Thank you for the details and info. I will look into it and update here.
@AJaySi commented on GitHub (Feb 13, 2025):
@uniqueumesh
I have fixed it, please rebase to get latest code and try again.
Request to check if the article is factually correct, I will try to add more better prompts.
Thank you.
@uniqueumesh commented on GitHub (Feb 14, 2025):
@AJaySi
I appreciate your support. I am still encountering the same issue as I mentioned above.
@AJaySi commented on GitHub (Feb 14, 2025):
@uniqueumesh
hmmmm, just to confirm, you do have the latest code from github ?
@uniqueumesh commented on GitHub (Feb 14, 2025):
@AJaySi
Yes, I have pulled the latest code today.
@AJaySi commented on GitHub (Feb 15, 2025):
@uniqueumesh
i will work on this tonight.
@AJaySi commented on GitHub (Mar 10, 2025):
@uniqueumesh
I have assigned this to you, let me know if you need any help on this. Thanks.
@uniqueumesh commented on GitHub (Mar 10, 2025):
@AJaySi
Thank you for assigning this issue to me. I will look into the root cause and update you on my findings.
@uniqueumesh commented on GitHub (Mar 10, 2025):
Hello @AJaySi
Today, I separately installed and tested the News Writer locally, and it generated news smoothly.
I also tested the News Writer within the ALwrity main tool, and it worked fine without any errors.
I encountered an error when using the News Writer on our webpage app (https://www.alwrity.com/ai-news-generator)
I have attached a screenshot for reference.
News writer in local host:
News writer in ALwrity main:
News write in webpage app
@AJaySi commented on GitHub (Mar 11, 2025):
Well, I suspect the API key is at fault in this codebase: https://github.com/AJaySi/alwrity_news_writer
Try with a new key and directly giving it in the code. If that works then we create a .env file and upload that.
Check Error 403 and its meaning::
https://www.google.com/search?q=api+erorr+403&oq=api+erorr+403&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIJCAEQABgNGIAEMgkIAhAAGA0YgAQyCAgDEAAYFhgeMggIBBAAGBYYHjIICAUQABgWGB4yCAgGEAAYFhgeMggIBxAAGBYYHjIICAgQABgWGB4yCAgJEAAYFhge0gEIMzY5OWoxajeoAgCwAgA&sourceid=chrome&ie=UTF-8
@uniqueumesh commented on GitHub (Mar 11, 2025):
Thank you @AJaySi
Now AI News writer on ALwrity webpage is generating news articles without any error.
@AJaySi commented on GitHub (Mar 11, 2025):
@uniqueumesh Great Job.