Repository navigation
feat: add a ModelFold chat provider preset - #6964
Open
AIModelFold wants to merge 1 commit into
Open
AIModelFold wants to merge 1 commit into
AIModelFold wants to merge 1 commit into
Conversation
This branch has not been deployed
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.
Change type
Description
I’m submitting this on behalf of the ModelFold team from our brand account, with AI assistance. ModelFold is a hosted, paid API service that provides access to multiple model families with one user-issued key. It supports OpenAI-compatible and Anthropic-compatible APIs. This opt-in preset uses only OpenAI-style Chat Completions and model discovery at
https://modelfold.ai/v1; it does not add Anthropic Messages, Responses, speech, image generation or billing support.Select ModelFold in the custom provider settings, enter a ModelFold key, and choose a ModelFold chat model. The web client uses a same-origin NextChat route; the desktop client targets the service directly. The preset keeps its credential separate from other providers and does not fall back to a deployment key or site access code. Connection documentation. Related: #6942.
Verification
yarn test:ci --runInBand --silent: 183 tests passed, including new offline cases for chat, discovery, credential isolation and model-list merging.--noEmitandyarn lintpassed. For lint, I supplied the lint plugin’s TypeScript peer dependency separately (@typescript-eslint/eslint-plugin@6.4.0, matching the installed parser, with TypeScript 5.2.2). No project dependency or lockfile changes.