context_server: Make notifications type safe (#32396)

Follow up to #32254 

Release Notes:

- N/A
This commit is contained in:
Bennet Bo Fenner 2025-06-09 17:11:01 +02:00 committed by GitHub
parent 3853e83da7
commit 6801b9137f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 67 additions and 43 deletions

View file

@ -562,7 +562,7 @@ impl ThreadStore {
if protocol.capable(context_server::protocol::ServerCapability::Tools) {
if let Some(response) = protocol
.request::<context_server::types::request::ListTools>(())
.request::<context_server::types::requests::ListTools>(())
.await
.log_err()
{