Skip to content

Draft improvements from assistant conversations: llms.txt truncation#6294

Merged
ethanpalm merged 3 commits into
mainfrom
mintlify/7d77eded
Jun 26, 2026
Merged

Draft improvements from assistant conversations: llms.txt truncation#6294
ethanpalm merged 3 commits into
mainfrom
mintlify/7d77eded

Conversation

@mintlify

@mintlify mintlify Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Document the 100,000-character cap on the auto-generated llms.txt file and point readers to the custom-file workaround.

Changes

  • Added a callout on /ai/llmstxt explaining the 100k-character truncation behavior and linking to the existing "Custom files" section as the way to remove the limit.

Context

Recent assistant conversations showed users hitting the "index was truncated to stay under 100,000 characters" message in their generated llms.txt without any docs explaining the limit or how to work around it. The custom-file override was already documented further down the page; this change makes the relationship between the two discoverable from the truncation context.


Note

Low Risk
Documentation-only copy in four MDX locale files; no product or runtime behavior changes.

Overview
Adds a Note on the llms.txt page (English, Spanish, French, and Chinese) right after the structure overview, before the example block.

The callout states that auto-generated llms.txt is capped at 100,000 characters, that Mintlify truncates oversized output and notes how many pages were omitted, and links to Custom files as the way to list every page without that limit.

Reviewed by Cursor Bugbot for commit 4c0e91f. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify

mintlify Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Jun 26, 2026, 4:30 PM

@mintlify

mintlify Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
smartac 🟢 Ready View Preview Jun 26, 2026, 4:50 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
testsignup415 🟢 Ready View Preview Jun 26, 2026, 5:06 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Comment thread ai/llmstxt.mdx Outdated
@ethanpalm ethanpalm merged commit fcbaad9 into main Jun 26, 2026
6 checks passed
@ethanpalm ethanpalm deleted the mintlify/7d77eded branch June 26, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants