Merge pull request #3482 from continuedev/nate/quick-edit-fe8b

roll back openai-adapters for Azure
This commit is contained in:
Nate Sesti 2024-12-20 12:17:45 -08:00 • committed by GitHub
commit 5e2837433e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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<LLMOptions> = {
apiVersion: "2024-02-15-preview",
apiType: "azure",