diff --git a/core/llm/autodetect.ts b/core/llm/autodetect.ts index c8511554b8b..933671f9872 100644 --- a/core/llm/autodetect.ts +++ b/core/llm/autodetect.ts @@ -133,6 +133,7 @@ const PROVIDER_SUPPORTS_IMAGES: string[] = [ "watsonx", "zAI", "tensorix", + "denizenblu", ]; const MODEL_SUPPORTS_IMAGES: RegExp[] = [ diff --git a/core/llm/llms/DenizenBlu.ts b/core/llm/llms/DenizenBlu.ts new file mode 100644 index 00000000000..adf2197eab8 --- /dev/null +++ b/core/llm/llms/DenizenBlu.ts @@ -0,0 +1,12 @@ +import { LLMOptions } from "../../index.js"; + +import OpenAI from "./OpenAI.js"; + +class DenizenBlu extends OpenAI { + static providerName = "denizenblu"; + static defaultOptions: Partial = { + apiBase: "https://bluroute.denizenblu.com/v1", + }; +} + +export default DenizenBlu; diff --git a/core/llm/llms/index.ts b/core/llm/llms/index.ts index 4978f0617f2..011d20beb8d 100644 --- a/core/llm/llms/index.ts +++ b/core/llm/llms/index.ts @@ -20,6 +20,7 @@ import Cohere from "./Cohere"; import CometAPI from "./CometAPI"; import DeepInfra from "./DeepInfra"; import Deepseek from "./Deepseek"; +import DenizenBlu from "./DenizenBlu"; import Docker from "./Docker"; import Fireworks from "./Fireworks"; import Flowise from "./Flowise"; @@ -105,6 +106,7 @@ export const LLMClasses = [ NCompass, Cloudflare, Deepseek, + DenizenBlu, Docker, Msty, Azure, diff --git a/docs/customize/model-providers/more/denizenblu.mdx b/docs/customize/model-providers/more/denizenblu.mdx new file mode 100644 index 00000000000..894d9d0750d --- /dev/null +++ b/docs/customize/model-providers/more/denizenblu.mdx @@ -0,0 +1,51 @@ +--- +title: "How to Configure Denizen Blu with Continue" +sidebarTitle: "Denizen Blu" +--- + + + Denizen Blu is an OpenAI-compatible model gateway. Get an API key from your + Denizen Blu administrator. + + +## Configuration + + + + ```yaml title="config.yaml" + name: My Config + version: 0.0.1 + schema: v1 + + models: + - name: Qwen2.5 Coder 1.5B + provider: denizenblu + model: qwen2.5-coder-1.5b-instruct + apiKey: + - name: Qwen3 0.6B + provider: denizenblu + model: qwen3-0.6b + apiKey: + ``` + + + ```json title="config.json" + { + "models": [ + { + "title": "Qwen2.5 Coder 1.5B", + "provider": "denizenblu", + "model": "qwen2.5-coder-1.5b-instruct", + "apiKey": "" + }, + { + "title": "Qwen3 0.6B", + "provider": "denizenblu", + "model": "qwen3-0.6b", + "apiKey": "" + } + ] + } + ``` + + diff --git a/docs/docs.json b/docs/docs.json index b7a1d83f13a..dcc7e676b8c 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -109,6 +109,7 @@ "customize/model-providers/more/clawrouter", "customize/model-providers/more/deepseek", "customize/model-providers/more/deepinfra", + "customize/model-providers/more/denizenblu", "customize/model-providers/more/groq", "customize/model-providers/more/llamacpp", "customize/model-providers/more/llamastack",