fix: log detail panel not showing any message when total count greate… (#10119)
This commit is contained in:
parent
0154a26e0b
commit
73f29484e7
4 changed files with 288 additions and 2 deletions
|
|
@ -195,8 +195,8 @@ function DetailPanel({ detail, onFeedback }: IDetailPanel) {
|
|||
conversation_id: detail.id,
|
||||
limit: 10,
|
||||
}
|
||||
if (allChatItems.at(-1)?.id)
|
||||
params.first_id = allChatItems.at(-1)?.id.replace('question-', '')
|
||||
if (allChatItems[0]?.id)
|
||||
params.first_id = allChatItems[0]?.id.replace('question-', '')
|
||||
const messageRes = await fetchChatMessages({
|
||||
url: `/apps/${appDetail?.id}/chat-messages`,
|
||||
params,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue