Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

Added LLM family for BlackBoxAI

Louis Choquel0a1bc02f1df3
diff --git a/pipelex/cogt/llm/llm_models/llm_family.py b/pipelex/cogt/llm/llm_models/llm_family.py
index 43a7d3755..55637d4be 100644
--- a/pipelex/cogt/llm/llm_models/llm_family.py
+++ b/pipelex/cogt/llm/llm_models/llm_family.py
@@ -100,6 +100,7 @@ class LLMFamily(StrEnum):
CUSTOM_GEMMA_3 = "custom-gemma-3"
CUSTOM_MISTRAL_SMALL_3_1 = "custom-mistral-small3.1"
CUSTOM_QWEN_3 = "custom-qwen3"
+ CUSTOM_BLACKBOXAI = "custom-blackboxai"
@property
def creator(self) -> LLMCreator:
@@ -151,6 +152,8 @@ class LLMFamily(StrEnum):
return LLMCreator.META
case LLMFamily.CUSTOM_QWEN_3:
return LLMCreator.ALIBABA
+ case LLMFamily.CUSTOM_BLACKBOXAI:
+ return LLMCreator.OPENAI
@property
def prompting_target(self) -> LLMPromptingTarget:
diff --git a/pipelex/libraries/llm_integrations/custom.toml b/pipelex/libraries/llm_integrations/custom.toml
index ecf6d747f..54995f4c3 100644
--- a/pipelex/libraries/llm_integrations/custom.toml
+++ b/pipelex/libraries/llm_integrations/custom.toml
@@ -28,3 +28,9 @@ cost_per_million_tokens_usd = { input = 0, output = 0 }
platform_llm_id = { custom_llm = "qwen3:8b" }
# TODO: support <think> tokens
+[custom-blackboxai."blackboxai/openai/gpt-4o-mini".latest]
+is_gen_object_supported = true
+is_vision_supported = true
+cost_per_million_tokens_usd = { input = 0, output = 0 }
+platform_llm_id = { custom_llm = "blackboxai/openai/gpt-4o-mini" }
+
diff --git a/pipelex/plugins/openai/openai_llm_worker.py b/pipelex/plugins/openai/openai_llm_worker.py
index f9257aa28..f759e3d46 100644
--- a/pipelex/plugins/openai/openai_llm_worker.py
+++ b/pipelex/plugins/openai/openai_llm_worker.py
@@ -90,6 +90,7 @@ class OpenAILLMWorker(LLMWorkerInternalAbstract):
| LLMFamily.CUSTOM_GEMMA_3
| LLMFamily.CUSTOM_MISTRAL_SMALL_3_1
| LLMFamily.CUSTOM_QWEN_3
+ | LLMFamily.CUSTOM_BLACKBOXAI
| LLMFamily.PERPLEXITY_SEARCH
| LLMFamily.PERPLEXITY_RESEARCH
| LLMFamily.PERPLEXITY_REASONING
@@ -191,6 +192,7 @@ class OpenAILLMWorker(LLMWorkerInternalAbstract):
| LLMFamily.CUSTOM_GEMMA_3
| LLMFamily.CUSTOM_MISTRAL_SMALL_3_1
| LLMFamily.CUSTOM_QWEN_3
+ | LLMFamily.CUSTOM_BLACKBOXAI
| LLMFamily.PERPLEXITY_SEARCH
| LLMFamily.PERPLEXITY_RESEARCH
| LLMFamily.PERPLEXITY_REASONING