diff --git a/test/wkok/openai_clojure/api_integration_test.clj b/test/wkok/openai_clojure/api_integration_test.clj index a299b24..eaad6ed 100644 --- a/test/wkok/openai_clojure/api_integration_test.clj +++ b/test/wkok/openai_clojure/api_integration_test.clj @@ -2,21 +2,6 @@ (:require [clojure.test :refer [deftest is testing]] [wkok.openai-clojure.api :as api])) -(deftest list-models - (testing "lists the davinci model" - (is (= "davinci" - (->> (api/list-models) - :data - (some #(when (= "davinci" (:id %)) (:id %)))))))) - -(deftest create-completion - (testing "creates a simple completion" - (is (contains? (api/create-completion {:model "text-davinci-003" - :prompt "Say this is a test" - :max_tokens 7 - :temperature 0}) - :choices)))) - (deftest create-chat-completion (testing "creates a simple chat completion" (is (contains? (api/create-chat-completion {:model "gpt-3.5-turbo"