@devries-cameron20 / composio Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 03:37 UTC

next
ts 13 lines 601 Bytes
Raw
1 import { expect, test } from 'bun:test';
2 import { getLLMText } from '../../lib/source';
3 import { readFileSync } from 'node:fs';
4
5 test('page Markdown and the full corpus route agents to dated release notes', async () => {
6 const markdown = await getLLMText({
7 url: '/docs/quickstart',
8 data: { title: 'Quickstart', getText: async () => 'Install the SDK.' },
9 });
10 expect(markdown).toContain('[Changelog](https://docs.composio.dev/docs/changelog.md)');
11 expect(readFileSync('app/llms-full.txt/route.ts', 'utf8'))
12 .toContain('[Changelog](https://docs.composio.dev/docs/changelog.md)');
13 });