chore(protocol): sync generated artifacts
This commit is contained in:
@@ -777,14 +777,18 @@ public struct CronRunLogEntry: Codable {
|
|||||||
|
|
||||||
public struct ChatHistoryParams: Codable {
|
public struct ChatHistoryParams: Codable {
|
||||||
public let sessionkey: String
|
public let sessionkey: String
|
||||||
|
public let limit: Int?
|
||||||
|
|
||||||
public init(
|
public init(
|
||||||
sessionkey: String
|
sessionkey: String,
|
||||||
|
limit: Int?
|
||||||
) {
|
) {
|
||||||
self.sessionkey = sessionkey
|
self.sessionkey = sessionkey
|
||||||
|
self.limit = limit
|
||||||
}
|
}
|
||||||
private enum CodingKeys: String, CodingKey {
|
private enum CodingKeys: String, CodingKey {
|
||||||
case sessionkey = "sessionKey"
|
case sessionkey = "sessionKey"
|
||||||
|
case limit
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
5
dist/protocol.schema.json
vendored
5
dist/protocol.schema.json
vendored
@@ -1770,6 +1770,11 @@
|
|||||||
"sessionKey": {
|
"sessionKey": {
|
||||||
"minLength": 1,
|
"minLength": 1,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"limit": {
|
||||||
|
"minimum": 1,
|
||||||
|
"maximum": 500,
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
|||||||
Reference in New Issue
Block a user