Skip to content

Commit

Permalink
chore: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Feb 20, 2025
1 parent ca0aad8 commit 032a55e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/runtime/server/routes/llms_full.txt.get.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,6 @@ export default eventHandler(async (event) => {

await llmsHooks.callHook('generate:full', event, llms, contents)

const document = [
`# ${llms.full?.title || 'Documentation'}`,
]

if (llms.description) {
document.push(`> ${llms.full?.description}`)
}

for (const content of contents) {
document.push(content)
}

setHeader(event, 'Content-Type', 'text/plain')
return contents.join('\n\n')
})

0 comments on commit 032a55e

Please sign in to comment.