标签: Python

[Bug]: annotation list / hit-history has_more uses raw limit while query caps at 100 (missed sibling of #41780/#41776)

[Bug]: annotation list / hit-history has_more uses raw limit while query caps at 100 (missed sibling of #41780/#41776)

当 Dify 自托管实例调用标注列表或命中历史分页接口时,若传入的 limit 恰好等于总数、或大于 100,分页返回值 has_more 会算错,导致前端出现“幽灵加载更多”或提前停止分页。优先排查这三个接口的 has_more 计算是否使用了未经 100 上限裁剪的原始 limit 。