Skip to content

feat: add a ModelFold chat provider preset - #6964

Open
AIModelFold wants to merge 1 commit into
ChatGPTNextWeb:mainfrom
AIModelFold:feat/modelfold-provider
Open

AIModelFold wants to merge 1 commit into
ChatGPTNextWeb:mainfrom
AIModelFold:feat/modelfold-provider

Conversation

@AIModelFold

Copy link
Copy Markdown

Change type

  • Feature

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

  • Full yarn test:ci --runInBand --silent: 183 tests passed, including new offline cases for chat, discovery, credential isolation and model-list merging.
  • TypeScript --noEmit and yarn lint passed. 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.
  • Requests in the new tests are mocked. I did not make a paid inference request or run an end-to-end desktop or browser session; model-specific streaming and tool support are not asserted.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant