Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails for Scala 3.2.2 with Instance not found for Json.format[LogprobsInfo] #36

Closed
phelps-sg opened this issue Jun 18, 2023 · 1 comment

Comments

@phelps-sg
Copy link
Contributor

 [error] -- Error: /home/runner/work/openai-scala-client/openai-scala-client/openai-client/src/main/scala/io/cequence/openaiscala/JsonFormats.scala:28:15 
[error] 28 |    Json.format[LogprobsInfo]
[error]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[error]    |Instance not found: play.api.libs.json.Writes[scala.collection.immutable.Seq[scala.collection.immutable.Map[String, scala.Double]]]
[error] -- Error: /home/runner/work/openai-scala-client/openai-scala-client/openai-client/src/main/scala/io/cequence/openaiscala/JsonFormats.scala:89:59 
phelps-sg added a commit to phelps-sg/openai-scala-client that referenced this issue Jun 18, 2023
…t direclty into JsonFormats as implicit objects - fixes cequence-io#36
@peterbanda
Copy link
Member

The issue doesn't occur anymore (a required implicit Map format was preserved by configuring Scalafix)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants