ProviderRow
data class ProviderRow(val providerId: ProviderId, val hasKey: Boolean, val testOutcome: KeyTestOutcome = KeyTestOutcome.UNTESTED, val testFailure: AiFailure? = null)(source)
One row in the cloud-provider picker: whether a key is saved, and the last "test key" outcome.
Constructors
Link copied to clipboard
constructor(providerId: ProviderId, hasKey: Boolean, testOutcome: KeyTestOutcome = KeyTestOutcome.UNTESTED, testFailure: AiFailure? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Only set once testOutcome is KeyTestOutcome.FAILED — the real reason, not a guess.
Link copied to clipboard