chore: fixed CI

This commit is contained in:
Shadow
2026-01-05 23:36:30 -06:00
parent a79c100594
commit 69f285c5ca
2 changed files with 37 additions and 1 deletions

View File

@@ -369,6 +369,43 @@ public struct SendParams: Codable, Sendable {
}
}
public struct PollParams: Codable, Sendable {
public let to: String
public let question: String
public let options: [String]
public let maxselections: Int?
public let durationhours: Int?
public let provider: String?
public let idempotencykey: String
public init(
to: String,
question: String,
options: [String],
maxselections: Int?,
durationhours: Int?,
provider: String?,
idempotencykey: String
) {
self.to = to
self.question = question
self.options = options
self.maxselections = maxselections
self.durationhours = durationhours
self.provider = provider
self.idempotencykey = idempotencykey
}
private enum CodingKeys: String, CodingKey {
case to
case question
case options
case maxselections = "maxSelections"
case durationhours = "durationHours"
case provider
case idempotencykey = "idempotencyKey"
}
}
public struct AgentParams: Codable, Sendable {
public let message: String
public let to: String?

View File

@@ -349,7 +349,6 @@ export type {
ErrorShape,
StateVersion,
AgentEvent,
PollParams,
AgentWaitParams,
ChatEvent,
TickEvent,