mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
* feat(tools): added sentry, incidentio, and posthog tools * update docs * fixed docs to use native fumadocs for llms.txt and copy markdown, fixed tool issues * cleanup * enhance error extractor, fixed posthog tools * docs enhancements, cleanup * added more incident io ops, remove zustand/shallow in favor of zustand/react/shallow * fix type errors * remove unnecessary comments * added vllm to docs
11 lines
281 B
TypeScript
11 lines
281 B
TypeScript
import type { InferPageType } from 'fumadocs-core/source'
|
|
import type { source } from '@/lib/source'
|
|
|
|
export async function getLLMText(page: InferPageType<typeof source>) {
|
|
return `# ${page.data.title} (${page.url})
|
|
|
|
${page.data.description || ''}
|
|
|
|
${page.data.content || ''}`
|
|
}
|