[PR #24661] fix: has_more logic in ChatMessageListApi to ensure correct on behavior when no more messages are available. #30738

Closed
opened 2026-02-21 20:48:08 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/24661

State: closed
Merged: Yes


Summary

Fix #24583 introduced current_page_first_message is used before initialize by GPT 5 high
Fixes https://github.com/langgenius/dify/issues/24686
Fixes https://github.com/langgenius/dify/issues/24684

Checklist

  • This change not requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • No need add test, and I tried as much as possible to make a single atomic change.
  • No need update the documentation accordingly.
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods
**Original Pull Request:** https://github.com/langgenius/dify/pull/24661 **State:** closed **Merged:** Yes --- ## Summary Fix #24583 introduced current_page_first_message is used before initialize by GPT 5 high Fixes https://github.com/langgenius/dify/issues/24686 Fixes https://github.com/langgenius/dify/issues/24684 ## Checklist - [x] This change *not* requires a documentation update, included: [Dify Document](https://github.com/langgenius/dify-docs) - [x] I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!) - [x] No need add test, and I tried as much as possible to make a single atomic change. - [x] No need update the documentation accordingly. - [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods
yindo added the pull-request label 2026-02-21 20:48:08 -05:00
yindo closed this issue 2026-02-21 20:48:08 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#30738