feat: add streaming core domain model
This commit is contained in:
@@ -1961,6 +1961,7 @@ mod tests {
|
||||
auth_profile_ref: None,
|
||||
headers: BTreeMap::new(),
|
||||
protocol_options: None,
|
||||
streaming: None,
|
||||
},
|
||||
tool_description: ToolDescription {
|
||||
title: "Create Lead".to_owned(),
|
||||
@@ -2016,6 +2017,7 @@ mod tests {
|
||||
auth_profile_ref: None,
|
||||
headers: BTreeMap::new(),
|
||||
protocol_options: None,
|
||||
streaming: None,
|
||||
},
|
||||
tool_description: ToolDescription {
|
||||
title: "Create Lead GraphQL".to_owned(),
|
||||
@@ -2070,6 +2072,7 @@ mod tests {
|
||||
auth_profile_ref: None,
|
||||
headers: BTreeMap::new(),
|
||||
protocol_options: None,
|
||||
streaming: None,
|
||||
},
|
||||
tool_description: ToolDescription {
|
||||
title: "Unary Echo gRPC".to_owned(),
|
||||
|
||||
@@ -3468,6 +3468,7 @@ fn demo_rest_operation_payload() -> OperationPayload {
|
||||
auth_profile_ref: None,
|
||||
headers: BTreeMap::new(),
|
||||
protocol_options: None,
|
||||
streaming: None,
|
||||
},
|
||||
tool_description: crank_core::ToolDescription {
|
||||
title: "Create CRM Lead".to_owned(),
|
||||
@@ -3521,6 +3522,7 @@ fn demo_graphql_operation_payload() -> OperationPayload {
|
||||
auth_profile_ref: None,
|
||||
headers: BTreeMap::new(),
|
||||
protocol_options: None,
|
||||
streaming: None,
|
||||
},
|
||||
tool_description: crank_core::ToolDescription {
|
||||
title: "Get Invoice Status".to_owned(),
|
||||
@@ -3574,6 +3576,7 @@ fn demo_grpc_operation_payload() -> OperationPayload {
|
||||
protocol_options: Some(crank_core::ProtocolOptions {
|
||||
grpc: Some(crank_core::GrpcProtocolOptions { use_tls: false }),
|
||||
}),
|
||||
streaming: None,
|
||||
},
|
||||
tool_description: crank_core::ToolDescription {
|
||||
title: "Lookup Support Ticket".to_owned(),
|
||||
@@ -3631,6 +3634,7 @@ fn demo_archived_operation_payload() -> OperationPayload {
|
||||
auth_profile_ref: None,
|
||||
headers: BTreeMap::new(),
|
||||
protocol_options: None,
|
||||
streaming: None,
|
||||
},
|
||||
tool_description: crank_core::ToolDescription {
|
||||
title: "Archive Marketing Contact".to_owned(),
|
||||
|
||||
Reference in New Issue
Block a user