mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
Fix: infinite loading not work when message is too short (#5075)
This commit is contained in:
parent
2050a8b8f0
commit
5f104bab57
|
@ -185,7 +185,7 @@ function DetailPanel<T extends ChatConversationFullDetailResponse | CompletionCo
|
||||||
return
|
return
|
||||||
const params: ChatMessagesRequest = {
|
const params: ChatMessagesRequest = {
|
||||||
conversation_id: detail.id,
|
conversation_id: detail.id,
|
||||||
limit: 4,
|
limit: 10,
|
||||||
}
|
}
|
||||||
if (items?.[0]?.id)
|
if (items?.[0]?.id)
|
||||||
params.first_id = items?.[0]?.id.replace('question-', '')
|
params.first_id = items?.[0]?.id.replace('question-', '')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user