This commit is contained in:
crazywoola 2023-08-13 20:30:17 +08:00 committed by GitHub
parent 48a303b8e9
commit 4b0d9272ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ For versatile conversational apps using a Q&A format, call the chat-messages API
/>
<Row>
<Col>
The first page returns the latest `limit` bar, which is in reverse order.
The first page returns the latest `limit` bar, which is in reverse order. Load previous pages by passing the `first_id` of the last message on the current page to the `first_id` parameter of the next request.
### Query

View File

@ -165,7 +165,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
/>
<Row>
<Col>
滚动加载形式返回历史聊天记录,第一页返回最新 `limit` 条,即:倒序返回
滚动加载形式返回历史聊天记录,第一页返回最新 `limit` 条,加载更多时,返回 `first_id` 之前的 `limit` 条
### Query