feat!: align model types with MCP 2025-11-25 spec (#927)
* feat!: align model types with MCP 2025-11-25 spec * fix: complete 2025-11-25 model spec conformance
This commit is contained in:
parent
42a1069833
commit
77932141e3
1 changed files with 4321 additions and 3886 deletions
|
|
@ -38,7 +38,7 @@ impl ServerHandler for Server {
|
|||
let _enter = span.enter();
|
||||
|
||||
if let Err(e) = peer
|
||||
.notify_resource_updated(ResourceUpdatedNotificationParam { uri: uri.clone() })
|
||||
.notify_resource_updated(ResourceUpdatedNotificationParam::new(uri.clone()))
|
||||
.await
|
||||
{
|
||||
panic!("Failed to send notification: {}", e);
|
||||
|
|
|
|||
Loading…
Reference in a new issue