mcp/server: advertise completions only if installed (#213)
Previously, completions would always be advertised as a capability even if the CompletionHandler was not installed by the server. This CL fixes that.
This commit is contained in:
parent
0cde9623d3
commit
faaf77dc05
1 changed files with 38 additions and 36 deletions
|
|
@ -18,7 +18,6 @@ response with its latest supported version.
|
|||
"id": 1,
|
||||
"result": {
|
||||
"capabilities": {
|
||||
"completions": {},
|
||||
"logging": {}
|
||||
},
|
||||
"protocolVersion": "2025-06-18",
|
||||
|
|
|
|||
Loading…
Reference in a new issue