Skip to content

Commit 9de7612

Browse files
committed
scalafmt
1 parent 17d0227 commit 9de7612

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/AnthropicServiceImpl.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ private[service] trait AnthropicServiceImpl extends Anthropic {
9292
val (system, nonSystem) = messages.partition(_.isSystem)
9393

9494
assert(nonSystem.head.role == ChatRole.User, "First non-system message must be from user.")
95-
assert(system.size <= 1, "System message can be only 1. Use SystemMessageContent to include more content blocks.")
95+
assert(
96+
system.size <= 1,
97+
"System message can be only 1. Use SystemMessageContent to include more content blocks."
98+
)
9699

97100
val messageJsons = nonSystem.map(Json.toJson(_))
98101

0 commit comments

Comments
 (0)