Files
oak-gpui/crates
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
..
2024-11-01 13:20:30 -04:00
2024-10-27 19:44:21 -07:00
2024-10-24 12:14:03 -06:00
2024-11-06 10:06:25 -07:00
2024-11-06 10:06:25 -07:00
2024-11-06 20:36:59 -07:00
2024-04-30 23:31:59 -06:00
2024-08-13 23:06:07 -07:00
2024-11-06 10:06:25 -07:00
2024-11-06 10:06:25 -07:00
2024-10-26 03:32:22 +03:00
2024-11-01 13:28:34 -06:00
2024-07-15 17:04:15 -06:00
2024-11-06 10:06:25 -07:00
2024-11-06 10:06:25 -07:00
2024-10-02 13:27:16 +02:00
2024-11-07 15:22:53 -05:00
2024-11-06 20:36:59 -07:00
2024-11-06 10:06:25 -07:00
2024-10-30 11:26:54 -06:00