Summary
Abliteration.ai hosts less-restrictive LLMs behind an OpenAI-compatible chat completions API (base URL https://api.abliteration.ai/v1, API key via ABLIT_KEY). For red-teaming workflows it's useful to be able to register it as a prompt target out of the box.
Proposed approach
Following the existing convention for third-party OpenAI-compatible providers (Groq, OpenRouter, Ollama, Google Gemini), add a TargetConfig entry in pyrit/setup/initializers/targets.py using OpenAIChatTarget with:
ABLIT_ENDPOINT (e.g. https://api.abliteration.ai/v1)
ABLIT_KEY
ABLIT_MODEL
plus matching .env_example entries, unit test coverage in tests/unit/setup/test_targets_initializer.py, an optional integration test entry, and a provider tab in the Populating Secrets doc page.
No new target class needed since the API is fully OpenAI-compatible.
Happy to open a PR with this if it fits the project's plans.
Summary
Abliteration.ai hosts less-restrictive LLMs behind an OpenAI-compatible chat completions API (base URL
https://api.abliteration.ai/v1, API key viaABLIT_KEY). For red-teaming workflows it's useful to be able to register it as a prompt target out of the box.Proposed approach
Following the existing convention for third-party OpenAI-compatible providers (Groq, OpenRouter, Ollama, Google Gemini), add a
TargetConfigentry inpyrit/setup/initializers/targets.pyusingOpenAIChatTargetwith:ABLIT_ENDPOINT(e.g.https://api.abliteration.ai/v1)ABLIT_KEYABLIT_MODELplus matching
.env_exampleentries, unit test coverage intests/unit/setup/test_targets_initializer.py, an optional integration test entry, and a provider tab in the Populating Secrets doc page.No new target class needed since the API is fully OpenAI-compatible.
Happy to open a PR with this if it fits the project's plans.