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 959d4ba commit ec0f6b8Copy full SHA for ec0f6b8
openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIChatCompletionExtra.scala
@@ -57,7 +57,7 @@ object OpenAIChatCompletionExtra {
57
def createChatCompletionWithJSON[T: Format](
58
messages: Seq[BaseMessage],
59
settings: CreateChatCompletionSettings,
60
- failoverModels: Seq[String],
+ failoverModels: Seq[String] = Nil,
61
maxRetries: Option[Int] = Some(defaultMaxRetries),
62
retryOnAnyError: Boolean = false,
63
taskNameForLogging: Option[String] = None
0 commit comments