diff --git a/src/wkok/openai_clojure/azure.clj b/src/wkok/openai_clojure/azure.clj index 5829dd7..7a0d406 100644 --- a/src/wkok/openai_clojure/azure.clj +++ b/src/wkok/openai_clojure/azure.clj @@ -132,9 +132,11 @@ (bootstrap-openapi)))) (defn patch-params [params] - {:api-version "2024-06-01" - :deployment-id (:model params) - :martian.core/body (dissoc params :model :on-next :wkok.openai-clojure.core/options)}) + (merge + {:api-version "2024-06-01" + :deployment-id (:model params) + :martian.core/body (dissoc params :model :on-next :wkok.openai-clojure.core/options)} + (select-keys params [:stream :on-next]))) (comment