feat: add streaming core domain model

This commit is contained in:
a.tolmachev
2026-04-06 09:57:28 +03:00
parent d841cd0dda
commit 6a0381b8e5
12 changed files with 654 additions and 11 deletions
+3
View File
@@ -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(),
+4
View File
@@ -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(),