Skip to content

Commit

Permalink
TODO on separate classes for cequence-io#16
Browse files Browse the repository at this point in the history
  • Loading branch information
phelps-sg committed Jun 10, 2023
1 parent 72f8397 commit 6ede80b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 6ede80b

Please sign in to comment.