Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix(docs): bump FAQ heading levels in LLM markdown output

Sushmithamallesh3dca8b5a6851
diff --git a/docs/app/llms.mdx/[[...slug]]/route.ts b/docs/app/llms.mdx/[[...slug]]/route.ts
index d324c3b39..eb732be08 100644
--- a/docs/app/llms.mdx/[[...slug]]/route.ts
+++ b/docs/app/llms.mdx/[[...slug]]/route.ts
@@ -637,7 +637,8 @@ function toolkitToMarkdown(toolkit: Toolkit, detailedTools?: Tool[], detailedTri
if (faqMarkdown && faqMarkdown.trim()) {
lines.push('', '## Frequently Asked Questions', '');
- lines.push(faqMarkdown.trim());
+ // Bump ## headings to ### so FAQ questions are children of the FAQ section
+ lines.push(faqMarkdown.trim().replace(/^## /gm, '### '));
}
if (tools.length > 0) {