fix: comment error (#215)
Co-authored-by: plutoyzhang <plutoyzhang@tencent.com>
This commit is contained in:
parent
d0bbb22850
commit
22134eb33e
1 changed files with 2 additions and 2 deletions
|
|
@ -300,9 +300,9 @@ impl Peer<RoleClient> {
|
|||
Ok(tools)
|
||||
}
|
||||
|
||||
/// A wrapper method for [`Peer<RoleClient>::list_resources`].
|
||||
/// A wrapper method for [`Peer<RoleClient>::list_prompts`].
|
||||
///
|
||||
/// This function will call [`Peer<RoleClient>::list_resources`] multiple times until all resources are listed.
|
||||
/// This function will call [`Peer<RoleClient>::list_prompts`] multiple times until all prompts are listed.
|
||||
pub async fn list_all_prompts(&self) -> Result<Vec<crate::model::Prompt>, ServiceError> {
|
||||
let mut prompts = Vec::new();
|
||||
let mut cursor = None;
|
||||
|
|
|
|||
Loading…
Reference in a new issue