cequence-io / openai-scala-client

Scala client for OpenAI API
MIT License
191 stars 20 forks source link

Build fails with declaration error with Scala 3.2.2 #38

Closed phelps-sg closed 1 year ago

phelps-sg commented 1 year ago
 [error] -- [E163] Declaration Error: /home/runner/work/openai-scala-client/openai-scala-client/openai-guice/src/main/scala/io/cequence/openaiscala/service/BaseOpenAIClientApp.scala:12:25 
[error] 12 |  override protected def modules: Seq[ScalaModule] = Seq(
[error]    |                         ^
[error]    |error overriding method modules in trait GuiceContainer of type => Seq[com.google.inject.Module];
[error]    |  method modules of type => Seq[net.codingwell.scalaguice.ScalaModule] has incompatible type
[error]    |
[error]    | longer explanation available when compiling with `-explain`
[warn] one warning found
[error] one error found
[warn] one warning found
[info] done compiling
[error] (guice / Compile / compileIncremental) Compilation failed
[error] Total time: 26 s, completed Jun 18, 2023, 1:13:46 PM
peterbanda commented 1 year ago

The issue seems to be resolved. Closing