Skip to content

Commit

Permalink
FineTuneError JSON format
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbanda committed Nov 24, 2023
1 parent c08959c commit dfd6a99
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dfd6a99

Please sign in to comment.