mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-24 03:00:37 +03:00
So Airtable API expects a maxRecords value to be the total set of records you want across multiple API calls. If the maxRecords is greater than 100, then it will provide pagination hints accordingly.
This commit is contained in:
@@ -251,7 +251,7 @@ class AirtableLoader extends BaseDocumentLoader {
|
||||
|
||||
private async loadLimit(): Promise<Document[]> {
|
||||
let data: AirtableLoaderRequest = {
|
||||
maxRecords: Math.min(this.limit, 100), // Airtable only returns up to 100 records per request
|
||||
maxRecords: this.limit,
|
||||
view: this.viewId
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user