AiAssistantError

@Serializable
data class AiAssistantError(val request: CompletionRequest? = null, val code: String? = null, val message: String? = null)

Error information from the AI Assistant.

Constructors

Link copied to clipboard
constructor(request: CompletionRequest? = null, code: String? = null, message: String? = null)

Properties

Link copied to clipboard
val code: String?

The error code identifying the type of error.

Link copied to clipboard

A human-readable error message.

Link copied to clipboard

The original completion request that caused the error, if available.