diff --git a/core/llm/llms/Azure.ts b/core/llm/llms/Azure.ts index ce20b4ecc..be7d1c18c 100644 --- a/core/llm/llms/Azure.ts +++ b/core/llm/llms/Azure.ts @@ -1,8 +1,18 @@ -import { ModelProvider } from "../../index.js"; +import { LLMOptions, ModelProvider } from "../../index.js"; import OpenAI from "./OpenAI.js"; class Azure extends OpenAI { static providerName: ModelProvider = "azure"; + + static defaultOptions: Partial = { + apiVersion: "2024-02-15-preview", + apiType: "azure", + }; + + constructor(options: LLMOptions) { + super(options); + this.engine = options.model; + } } export default Azure;