Add GPT4All local OpenAI-compatible provider - #2612
Merged
Merged
Conversation
Defaults to localhost:4891/v1 alongside other local runtimes so users can point WebBrain at GPT4All's API server without a custom provider card.
|
@Ayush7614 is attempting to deploy a commit to the esokullu's projects Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds GPT4All as a built-in local OpenAI-compatible provider across Chrome and Firefox.
Changes:
- Adds GPT4All defaults, settings, discovery, ordering, and icons.
- Extends provider tests for GPT4All.
- Updates provider catalogs and counts.
Reviewed changes
Copilot reviewed 17 out of 19 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
test/run.js |
Extends local-provider tests. |
src/chrome/src/providers/manager.js |
Adds Chrome provider configuration. |
src/firefox/src/providers/manager.js |
Adds Firefox provider configuration. |
src/chrome/src/ui/settings.js |
Adds Chrome settings fields. |
src/firefox/src/ui/settings.js |
Adds Firefox settings fields. |
src/chrome/src/ui/sidepanel.js |
Adds Chrome local-provider ordering. |
src/firefox/src/ui/sidepanel.js |
Adds Firefox local-provider ordering. |
src/chrome/src/ui/provider-icons.js |
Registers Chrome icon and label. |
src/firefox/src/ui/provider-icons.js |
Registers Firefox icon and label. |
src/chrome/icons/providers/gpt4all.svg |
Adds Chrome provider icon. |
src/firefox/icons/providers/gpt4all.svg |
Adds Firefox provider icon. |
src/chrome/icons/providers/SOURCES.md |
Documents Chrome icon source. |
src/firefox/icons/providers/SOURCES.md |
Documents Firefox icon source. |
README.md |
Updates English provider counts. |
README.fr.md |
Updates French provider counts. |
README.zh-CN.md |
Updates Chinese provider counts. |
docs/providers-and-models.md |
Adds English catalog entry. |
docs/fr/providers-and-models.md |
Adds French catalog entry. |
docs/zh-CN/providers-and-models.md |
Adds Chinese catalog entry. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| const mgr = new PM(); | ||
| const defaults = mgr._defaultConfigs(); | ||
| for (const id of ['jan', 'vllm', 'sglang', 'localai']) { | ||
| for (const id of ['jan', 'vllm', 'sglang', 'localai', 'gpt4all']) { |
| | `vllm` | `openai` | local | (loaded model) | Yes (default on) | | ||
| | `sglang` | `openai` | local | (loaded model) | Yes (default on) | | ||
| | `localai` | `openai` | local | (loaded model) | Yes (default on) | | ||
| | `gpt4all` | `openai` | local | (loaded model) | Yes (default on) | |
| | `vllm` | `openai` | local | (modèle chargé) | Oui (activé par défaut) | | ||
| | `sglang` | `openai` | local | (modèle chargé) | Oui (activé par défaut) | | ||
| | `localai` | `openai` | local | (modèle chargé) | Oui (activé par défaut) | | ||
| | `gpt4all` | `openai` | local | (modèle chargé) | Oui (activé par défaut) | |
| | `vllm` | `openai` | 本地 | (已加载模型) | 是(默认开启) | | ||
| | `sglang` | `openai` | 本地 | (已加载模型) | 是(默认开启) | | ||
| | `localai` | `openai` | 本地 | (已加载模型) | 是(默认开启) | | ||
| | `gpt4all` | `openai` | 本地 | (已加载模型) | 是(默认开启) | |
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.
Summary
http://localhost:4891/v1) in Chrome and Firefox, wired through manager defaults, settings fields, sidepanel local order, and provider icons.Test plan
http://localhost:4891/v1node test/run.js(expect pre-existing changelog failure on main if unchanged)