From 0013d6118d8d092be065ba8cd305795112304605 Mon Sep 17 00:00:00 2001 From: Kiryl Chetyrbak Date: Fri, 21 Feb 2025 12:18:25 -0500 Subject: [PATCH 1/3] Pass through azure open ai params to cachedChatCompletion --- js/llm.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/llm.ts b/js/llm.ts index a20e161..8ae7fce 100644 --- a/js/llm.ts +++ b/js/llm.ts @@ -94,6 +94,7 @@ export async function OpenAIClassifier( openAiBaseUrl, openAiDefaultHeaders, openAiDangerouslyAllowBrowser, + azureOpenAi, ...remaining } = args; @@ -141,7 +142,8 @@ export async function OpenAIClassifier( openAiBaseUrl, openAiDefaultHeaders, openAiDangerouslyAllowBrowser, - }, + azureOpenAi, + } ); if (resp.choices.length > 0) { From bdf6551a5df8e1443e998899fc4e456c327212fb Mon Sep 17 00:00:00 2001 From: Kiryl Chetyrbak Date: Sat, 22 Feb 2025 01:06:12 -0500 Subject: [PATCH 2/3] fix lint --- js/llm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/llm.ts b/js/llm.ts index 8ae7fce..2941f2f 100644 --- a/js/llm.ts +++ b/js/llm.ts @@ -143,7 +143,7 @@ export async function OpenAIClassifier( openAiDefaultHeaders, openAiDangerouslyAllowBrowser, azureOpenAi, - } + }, ); if (resp.choices.length > 0) { From f8437f12af52e896fdbd5c17fe353e5016e0fe43 Mon Sep 17 00:00:00 2001 From: Olmo Maldonado Date: Tue, 25 Feb 2025 11:49:01 -0600 Subject: [PATCH 3/3] bump version --- py/autoevals/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/autoevals/version.py b/py/autoevals/version.py index b3df149..a6a89aa 100644 --- a/py/autoevals/version.py +++ b/py/autoevals/version.py @@ -1 +1 @@ -VERSION = "0.0.119" +VERSION = "0.0.120"