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
|
|
@ -171,10 +171,12 @@ impl ServerHandler for TestServer {
|
|||
};
|
||||
|
||||
if let Err(e) = peer
|
||||
.notify_logging_message(LoggingMessageNotificationParam {
|
||||
level: request.level,
|
||||
data,
|
||||
logger,
|
||||
.notify_logging_message({
|
||||
let mut param = LoggingMessageNotificationParam::new(request.level, data);
|
||||
if let Some(l) = logger {
|
||||
param = param.with_logger(l);
|
||||
}
|
||||
param
|
||||
})
|
||||
.await
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue