io.cequence.openaiscala.domain.RunStep.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openai-scala-core_3 Show documentation
Show all versions of openai-scala-core_3 Show documentation
Core module of OpenAI Scala client
The newest version!
package io.cequence.openaiscala.domain
import io.cequence.openaiscala.domain.response.UsageInfo
import java.util.Date
case class RunStep(
id: String,
`object`: String,
createdAt: Date,
assistantId: String,
threadId: String,
runId: String,
`type`: String,
status: String,
stepDetails: Option[StepDetail],
// lastError: Map[String, String],
lastError: Option[LastError],
expiredAt: Option[Date],
cancelledAt: Option[Date],
failedAt: Option[Date],
completedAt: Option[Date],
metadata: Option[Map[String, String]],
usage: Option[UsageInfo]
)
object RunStep {
// case class LastError(
// code: LastErrorCode,
// message: String
// )
//
// sealed trait LastErrorCode extends SnakeCaseEnumValue
// object LastErrorCode {
// case object ServerError extends LastErrorCode
// case object RateLimitExceeded extends LastErrorCode
// }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy