We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17d0227 commit 9de7612Copy full SHA for 9de7612
anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/AnthropicServiceImpl.scala
@@ -92,7 +92,10 @@ private[service] trait AnthropicServiceImpl extends Anthropic {
92
val (system, nonSystem) = messages.partition(_.isSystem)
93
94
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.")
+ assert(
96
+ system.size <= 1,
97
+ "System message can be only 1. Use SystemMessageContent to include more content blocks."
98
+ )
99
100
val messageJsons = nonSystem.map(Json.toJson(_))
101
0 commit comments