Fix: infinite loading not work when message is too short (#5075)

pull/5093/head
KVOJJJin 2 years ago committed by GitHub
parent 2050a8b8f0
commit 5f104bab57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -185,7 +185,7 @@ function DetailPanel<T extends ChatConversationFullDetailResponse | CompletionCo
return
const params: ChatMessagesRequest = {
conversation_id: detail.id,
limit: 4,
limit: 10,
}
if (items?.[0]?.id)
params.first_id = items?.[0]?.id.replace('question-', '')

Loading…
Cancel
Save