From dfd6a99abd9f0e3086f0e0a690cbf6477cefe65a Mon Sep 17 00:00:00 2001 From: peterbanda Date: Fri, 24 Nov 2023 21:23:02 +0100 Subject: [PATCH] FineTuneError JSON format --- .../src/main/scala/io/cequence/openaiscala/JsonFormats.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/openai-client/src/main/scala/io/cequence/openaiscala/JsonFormats.scala b/openai-client/src/main/scala/io/cequence/openaiscala/JsonFormats.scala index 5c7d8ae2..9bece53a 100644 --- a/openai-client/src/main/scala/io/cequence/openaiscala/JsonFormats.scala +++ b/openai-client/src/main/scala/io/cequence/openaiscala/JsonFormats.scala @@ -211,6 +211,7 @@ object JsonFormats { JsonUtil.eitherFormat[Int, String] implicit val fineTuneHyperparamsFormat: Format[FineTuneHyperparams] = Json.format[FineTuneHyperparams] + implicit val fineTuneErrorFormat: Format[FineTuneError] = Json.format[FineTuneError] implicit val fineTuneFormat: Format[FineTuneJob] = Json.format[FineTuneJob] // somehow ModerationCategories.unapply is not working in Scala3