feat: add Abliteration.ai as an LLM provider - #13074
Open
abliteration-ai wants to merge 1 commit into
Open
Conversation
Adds Abliteration.ai (https://abliteration.ai) as a new OpenAI-compatible provider, giving users access to less-restrictive, uncensored models (abliterated-model, abliterated-model-large) through a single API key. Changes: - New LLM class (core/llm/llms/Abliteration.ts) - Registered in LLM index, openai-adapters, and config-types - Added to PROVIDER_HANDLES_TEMPLATING, PROVIDER_SUPPORTS_IMAGES, and PARALLEL_PROVIDERS in autodetect.ts - Added to VS Code extension config schema - Added to GUI provider selection with AUTODETECT - Docs page under more providers, plus nav and overview entries
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
Author
|
I have read the CLA Document and I hereby sign the CLA |
Author
|
Note on CI: the |
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 Abliteration.ai as a first-class provider. Abliteration.ai is an inference API for less-restrictive, uncensored models behind an OpenAI-compatible API (
https://api.abliteration.ai/v1), currently hostingabliterated-model(multimodal, 256K context) andabliterated-model-large(1M context).Changes:
core/llm/llms/Abliteration.ts(extendsOpenAI, setsapiBaseand default model)core/llm/llms/index.ts,packages/openai-adapters(types +constructLlmApi), andpackages/config-typesPROVIDER_HANDLES_TEMPLATING,PROVIDER_SUPPORTS_IMAGES, andPARALLEL_PROVIDERSincore/llm/autodetect.tsconfig_schema.jsonAUTODETECTdocs/customize/model-providers/more/abliteration.mdxwith YAML/JSON config examples, plusdocs.jsonnav and overview table entriesAI Code Review
@continue-reviewChecklist
Screen recording or screenshot
N/A — configuration-only provider addition, mirroring the recent Tensorix provider PR (#11184).
Tests
No new tests added (provider is a thin
OpenAIsubclass, same as Tensorix and other OpenAI-compatible providers). Verified locally:npm run tsc:checkincore— cleantscbuild inpackages/openai-adaptersandpackages/config-types— cleantsc --noEmitingui— cleannpx vitest run llmincore— 465 tests passednpx vitest runinpackages/openai-adapters— 145 tests passedjest llm/llms/OpenAI.test.ts llm/toolSupport.test.tsincore— 75 tests passed