Commit Graph

2 Commits

Author SHA1 Message Date
6f01174ea9 feat: enhance city description generation
- Modify get_description method to include an additional
  parameter for user context
- Update usage in views to reflect the new parameter
- Adjust temporary description message based on user context

This change enhances the city description generation logic by
allowing differentiation in how the description is provided
depending on whether the calling context is a user. It improves
the user experience while ensuring that non-user contexts
handle descriptions differently. This minor enhancement also
included updating the view to support this new logic.
2025-04-12 14:46:44 +08:00
e33209ccdd feat: enhance city description generation
- Add 'quick' parameter to get_description method to enable
  asynchronous generation requests.
- Implement AI description generation in the background using
  GenerateCityDescriptionWorker.
- Create a shared partial for displaying city descriptions in
  the show views for both cities and weather arts.
- Update existing methods to support generated descriptions and
  new asynchronous behavior.
2025-04-12 14:31:09 +08:00