Update to rmcp 1.1.0 (#7619)
Co-authored-by: Alex Hancock <alexhancock@block.xyz>
This commit is contained in:
@@ -473,18 +473,12 @@ mod tests {
|
||||
|
||||
// Add prompt info with arguments
|
||||
let test_prompt1_args = vec![
|
||||
PromptArgument {
|
||||
name: "required_arg".to_string(),
|
||||
description: Some("A required argument".to_string()),
|
||||
required: Some(true),
|
||||
title: None,
|
||||
},
|
||||
PromptArgument {
|
||||
name: "optional_arg".to_string(),
|
||||
description: Some("An optional argument".to_string()),
|
||||
required: Some(false),
|
||||
title: None,
|
||||
},
|
||||
PromptArgument::new("required_arg")
|
||||
.with_description("A required argument")
|
||||
.with_required(true),
|
||||
PromptArgument::new("optional_arg")
|
||||
.with_description("An optional argument")
|
||||
.with_required(false),
|
||||
];
|
||||
|
||||
let test_prompt1_info = output::PromptInfo {
|
||||
|
||||
Reference in New Issue
Block a user