Skip to content

Commit 91e1543

Browse files
committed
Formatting
1 parent cbc4f54 commit 91e1543

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

openai-examples/src/main/scala/io/cequence/openaiscala/examples/cerebras/CerebrasCreateChatCompletionJSON.scala

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ import scala.concurrent.Future
1717
/**
1818
* Requires `CEREBRAS_API_KEY` environment variable to be set.
1919
*/
20-
object CerebrasCreateChatCompletionJSON
21-
extends ExampleBase[OpenAIChatCompletionService] {
20+
object CerebrasCreateChatCompletionJSON extends ExampleBase[OpenAIChatCompletionService] {
2221

2322
override val service: OpenAIChatCompletionService = ChatCompletionProvider.cerebras
2423

openai-examples/src/main/scala/io/cequence/openaiscala/examples/groq/GroqCreateChatCompletionJSONWithDeepseekR1.scala

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ object GroqCreateChatCompletionJSONWithDeepseekR1
4343
UserMessage("What is the weather like in Norway?")
4444
)
4545

46-
private val modelId = NonOpenAIModelId.deepseek_r1_distill_qwen_32b // deepseek_r1_distill_llama_70b
46+
private val modelId =
47+
NonOpenAIModelId.deepseek_r1_distill_qwen_32b // deepseek_r1_distill_llama_70b
4748

4849
override protected def run: Future[_] =
4950
service

openai-examples/src/main/scala/io/cequence/openaiscala/examples/groq/GroqCreateChatCompletionWithDeepseekR1.scala

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ object GroqCreateChatCompletionWithDeepseekR1
3131
settings = CreateChatCompletionSettings(
3232
model = modelId,
3333
temperature = Some(0.1)
34-
).setReasoningFormat(reasoningFormat)
35-
.setMaxCompletionTokens(2048)
34+
).setReasoningFormat(reasoningFormat).setMaxCompletionTokens(2048)
3635
)
3736
.map(printMessageContent)
3837
}

0 commit comments

Comments
 (0)