Fix: infinite loading not work when message is too short (#5075)
This commit is contained in:
parent
2050a8b8f0
commit
5f104bab57
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue