From fc1359b34b27e4f1d32078412db2161173790b10 Mon Sep 17 00:00:00 2001 From: Nate Date: Fri, 20 Dec 2024 14:41:32 -0500 Subject: [PATCH] roll back openai-adapters for Azure --- core/llm/llms/Azure.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/llm/llms/Azure.ts b/core/llm/llms/Azure.ts index 5b3ba4338..b2beae921 100644 --- a/core/llm/llms/Azure.ts +++ b/core/llm/llms/Azure.ts @@ -1,4 +1,5 @@ import { LLMOptions } from "../../index.js"; +import { LlmApiRequestType } from "../openaiTypeConverters.js"; import OpenAI from "./OpenAI.js"; @@ -9,6 +10,8 @@ class Azure extends OpenAI { return false; } + protected useOpenAIAdapterFor: (LlmApiRequestType | "*")[] = []; + static defaultOptions: Partial = { apiVersion: "2024-02-15-preview", apiType: "azure",