@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, 04:45 UTC

next
ts 8 lines 351 Bytes
Raw
1 import { createSearchAPI } from 'fumadocs-core/search/server';
2 import { getDocsSearchIndexes } from '@/lib/search-index';
3
4 // Fallback/local search endpoint. Production search uses Algolia from the client
5 // when NEXT_PUBLIC_ALGOLIA_* variables are configured.
6 export const { GET } = createSearchAPI('advanced', {
7 indexes: getDocsSearchIndexes,
8 });