fix chat
This commit is contained in:
@@ -144,6 +144,7 @@ struct GetMessagesParams {
|
||||
|
||||
#[derive(Serialize)]
|
||||
struct GetMessagesResp {
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
cursor: Option<String>,
|
||||
messages: Vec<serde_json::Value>,
|
||||
}
|
||||
@@ -175,6 +176,7 @@ struct ListConvosParams {
|
||||
|
||||
#[derive(Serialize)]
|
||||
struct ListConvosResp {
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
cursor: Option<String>,
|
||||
convos: Vec<ConvoView>,
|
||||
}
|
||||
@@ -225,6 +227,7 @@ struct GetLogParams {
|
||||
|
||||
#[derive(Serialize)]
|
||||
struct GetLogResp {
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
cursor: Option<String>,
|
||||
logs: Vec<serde_json::Value>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user