From 72d735170f382ba8e491682966f43ef8dcf25350 Mon Sep 17 00:00:00 2001 From: Werner Kok Date: Thu, 31 Oct 2024 16:39:07 +0000 Subject: [PATCH] Fixed encoding error when passing :on-next callback for azure streaming --- src/wkok/openai_clojure/azure.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wkok/openai_clojure/azure.clj b/src/wkok/openai_clojure/azure.clj index a4fc97b..5829dd7 100644 --- a/src/wkok/openai_clojure/azure.clj +++ b/src/wkok/openai_clojure/azure.clj @@ -134,7 +134,7 @@ (defn patch-params [params] {:api-version "2024-06-01" :deployment-id (:model params) - :martian.core/body (dissoc params :model)}) + :martian.core/body (dissoc params :model :on-next :wkok.openai-clojure.core/options)}) (comment