zed/crates/context_servers
David Soria Parra 30a94fa59b
context_servers: Fix tool/list and prompt/list (#20387)
There are two issues with too/list and prompt/list at the moment. We
serialize params to `null`, which is not correct according to
context_server spec. While it IS allowed by JSON RPC spec to omit
params, it turns out some servers currently missbehave and don't respect
this. So we do two things

- We omit params if it would be a null value in json.
- We explicitly set params to {} for tool/list and prompt/list to avoid
it being omitted.

Release Notes:

- N/A
2024-11-07 19:09:55 -08:00
..
src context_servers: Fix tool/list and prompt/list (#20387) 2024-11-07 19:09:55 -08:00
Cargo.toml Scope slash commands, context servers, and tools to individual Assistant Panel instances (#20372) 2024-11-07 18:23:25 -05:00
LICENSE-GPL context_servers: Add initial implementation (#16103) 2024-08-15 10:49:30 -04:00