diff --git a/core/llm/llms/Azure.ts b/core/llm/llms/Azure.ts new file mode 100644 index 000000000..ce20b4ecc --- /dev/null +++ b/core/llm/llms/Azure.ts @@ -0,0 +1,8 @@ +import { ModelProvider } from "../../index.js"; +import OpenAI from "./OpenAI.js"; + +class Azure extends OpenAI { + static providerName: ModelProvider = "azure"; +} + +export default Azure; diff --git a/core/llm/llms/index.ts b/core/llm/llms/index.ts index a245f025c..20f77c850 100644 --- a/core/llm/llms/index.ts +++ b/core/llm/llms/index.ts @@ -27,6 +27,7 @@ import LlamaCpp from "./LlamaCpp.js"; import Llamafile from "./Llamafile.js"; import Mistral from "./Mistral.js"; import Msty from "./Msty.js"; +import Azure from "./Azure.js"; import Ollama from "./Ollama.js"; import OpenAI from "./OpenAI.js"; import Replicate from "./Replicate.js"; @@ -124,6 +125,7 @@ const LLMs = [ Cloudflare, Deepseek, Msty, + Azure, ]; export async function llmFromDescription(