diff --git a/openai-core/src/main/scala/io/cequence/openaiscala/OpenAIScalaClientException.scala b/openai-core/src/main/scala/io/cequence/openaiscala/OpenAIScalaClientException.scala index e6ef75ef..03057cc6 100644 --- a/openai-core/src/main/scala/io/cequence/openaiscala/OpenAIScalaClientException.scala +++ b/openai-core/src/main/scala/io/cequence/openaiscala/OpenAIScalaClientException.scala @@ -7,6 +7,7 @@ object Retryable { ): Option[OpenAIScalaClientException] = Some(t).filter(apply) def apply(t: OpenAIScalaClientException): Boolean = t match { + // TODO: Need separate classes for rate-limit-error conditions (#16) case _: OpenAIScalaClientTimeoutException => true case _ => false }