feat: add Manifest provider#12949
Open
guillaumegay13 wants to merge 1 commit into
Open
Conversation
Adds Manifest — an open-source, OpenAI-compatible gateway for AI agents — as a built-in provider. Changes: - core/llm/llms/Manifest.ts — provider class extending OpenAI (single auto model, server-side routing) - core/llm/llms/Manifest.vitest.ts — provider name, defaults, reasoning - core/llm/llms/index.ts — register in LLMClasses - core/llm/autodetect.ts — handles templating + images - core/llm/toolSupport.ts — tool support (gateway assumption) - core/llm/toolSupport.test.ts — manifest tests - packages/openai-adapters/src/apis/Manifest.ts — API adapter - packages/openai-adapters/src/apis/Manifest.test.ts — adapter tests - packages/openai-adapters/src/apis/AiSdk.ts — AI SDK provider map - packages/openai-adapters/src/index.ts — constructLlmApi routing - packages/openai-adapters/src/types.ts — provider enum - gui/src/pages/AddNewModel/configs/providers.ts — UI config - gui/src/pages/AddNewModel/configs/models.ts — manifestAuto model - gui/public/logos/manifest.png — provider logo - extensions/vscode/config_schema.json — VS Code schema - docs/customize/model-providers/more/manifest.mdx — provider docs - docs/customize/model-providers/overview.mdx — overview table - docs/docs.json — docs navigation
Contributor
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds Manifest — an open-source, OpenAI-compatible gateway for AI agents — as a built-in provider in Continue.
Manifest exposes a single endpoint in front of multiple providers (API keys, subscriptions, local models), with per-message cost/token tracking and automatic fallback on failures. The served model is resolved server-side from the user's dashboard configuration; requests target the single
automodel id.AI Code Review
Checklist
Tests
packages/openai-adapters/—Manifest.test.ts(3 tests): default apiBase, custom apiBase, auth headers — all passing (148 tests total, 15 files)core/llm/—Manifest.vitest.ts(5 tests): provider name, default options, auto model, custom apiBase — alongsidetoolSupport.test.tsmanifest teststsc --noEmitclean inpackages/openai-adapters