mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-24 12:25:11 +00:00
Update eng/generate-website-data.mjs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -898,7 +898,11 @@ async function main() {
|
|||||||
|
|
||||||
// Generate llms.txt
|
// Generate llms.txt
|
||||||
const llmsTxtContent = generateLlmsTxt(agents, prompts, instructions, skills);
|
const llmsTxtContent = generateLlmsTxt(agents, prompts, instructions, skills);
|
||||||
fs.writeFileSync(path.join(WEBSITE_DATA_DIR, "llms.txt"), llmsTxtContent, "utf8");
|
fs.writeFileSync(
|
||||||
|
path.join(ROOT_FOLDER, "website", "public", "llms.txt"),
|
||||||
|
llmsTxtContent,
|
||||||
|
"utf8"
|
||||||
|
);
|
||||||
console.log(`✓ llms.txt generated with ${agents.length} agents, ${prompts.length} prompts, ${instructions.length} instructions, ${skills.length} skills`);
|
console.log(`✓ llms.txt generated with ${agents.length} agents, ${prompts.length} prompts, ${instructions.length} instructions, ${skills.length} skills`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user