fix: comment error (#215)

Co-authored-by: plutoyzhang <plutoyzhang@tencent.com>
This commit is contained in:
Longhua Zhang 2025-05-23 15:14:52 +08:00 committed by GitHub
parent d0bbb22850
commit 22134eb33e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;