-
Notifications
You must be signed in to change notification settings - Fork 4k
Add pagination for llms-full.txt file #3619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
...s/gitbook/src/app/sites/static/[mode]/[siteURL]/[siteData]/llms-full.txt/[startIdx]/route.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You created an infinite number of llms-full.txt with your system. Use a proper page number instead of using the number of pages to skip.
I think it would be great to add unit tests on that (the algo of generation only, not the API).
Implement pagination for the llms-full.txt file to improve performance and fix errors for very big files.