mppx@0.2.6
·
410 commits
to main
since this release
Patch Changes
-
83c3bab: - Added
titleanddescriptionoptions toProxy.createconfig, used to populate thellms.txtheading and description.const proxy = Proxy.create({ title: 'My AI Gateway', description: 'A paid proxy for LLM and AI services.', services: [...] })
- Added
title,description, anddocsLlmsUrlproperties toServicetype andService.fromconfig.
Service.from('my-api', { baseUrl: 'https://api.example.com', title: 'My API', description: 'A custom API service.', docsLlmsUrl: 'https://example.com/llms.txt', routes: { ... }, }) // or with per-endpoint docs Service.from('my-api', { baseUrl: 'https://api.example.com', docsLlmsUrl: (endpoint) => endpoint ? `https://example.com/api/${encodeURIComponent(endpoint)}.md` : 'https://example.com/llms.txt', routes: { ... }, })
- Added