From 1bd309f42396d2e73a9d9b3f4f8cd38c7442136d Mon Sep 17 00:00:00 2001 From: peterbanda Date: Mon, 27 Nov 2023 12:40:48 +0100 Subject: [PATCH] Scala 3 - expl. type added for ec --- .../main/scala/io/cequence/openaiscala/examples/Example.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openai-examples/src/main/scala/io/cequence/openaiscala/examples/Example.scala b/openai-examples/src/main/scala/io/cequence/openaiscala/examples/Example.scala index 9ab9aae3..62977368 100644 --- a/openai-examples/src/main/scala/io/cequence/openaiscala/examples/Example.scala +++ b/openai-examples/src/main/scala/io/cequence/openaiscala/examples/Example.scala @@ -13,7 +13,7 @@ trait Example { implicit val system: ActorSystem = ActorSystem() implicit val materializer: Materializer = Materializer(system) - implicit val ec = ExecutionContext.Implicits.global + implicit val ec: ExecutionContext = ExecutionContext.Implicits.global val service: OpenAIService = OpenAIServiceFactory() // sys.env("OPENAI_API_KEY") def main(args: Array[String]): Unit = {